mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
PrintDialog class cleanup.
* Remove static PrintDialog::instance() method * Remove void PrintDialog::runDialog() method * construct/destruct print dialog on demand Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3086741d49
commit
02e9a6d07b
3 changed files with 5 additions and 17 deletions
|
@ -211,7 +211,9 @@ void MainWindow::on_actionExportUDDF_triggered()
|
|||
|
||||
void MainWindow::on_actionPrint_triggered()
|
||||
{
|
||||
PrintDialog::instance()->runDialog();
|
||||
PrintDialog dlg(this);
|
||||
|
||||
dlg.exec();
|
||||
}
|
||||
|
||||
void MainWindow::disableDcShortcuts()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue