diff options
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f8fab524..7f9c98d9 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -748,9 +748,9 @@ void MainWindow::preferences() // keep us informed when the user changes settings connect(s, SIGNAL(settingsChanged(QString)), rApp, SLOT(updateConfiguration())); - - s->exec(); - delete s; + connect(s, SIGNAL(finished(int)), s, SLOT(deleteLater())); + + s->show(); } |