From: Peter Penz Date: Fri, 9 Jan 2009 22:56:24 +0000 (+0000) Subject: there is no reason that the settings dialog is modal... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e931b21216d015c6fcfb988ec46d1242362dab31 there is no reason that the settings dialog is modal... BUG: 179757 svn path=/trunk/KDE/kdebase/apps/; revision=908577 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 22d2f09fc..1bf0cfd10 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -701,8 +701,11 @@ void DolphinMainWindow::toggleShowMenuBar() void DolphinMainWindow::editSettings() { - DolphinSettingsDialog dialog(this); - dialog.exec(); + DolphinSettingsDialog* dialog = new DolphinSettingsDialog(this); + dialog->setAttribute(Qt::WA_DeleteOnClose); + dialog->show(); + dialog->raise(); + dialog->activateWindow(); } void DolphinMainWindow::setActiveTab(int index)