summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-03-25 15:37:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-12 02:30:00 +0200
commit61e498af629eee43cd88911172b6f2a1b9eba188 (patch)
treeff3a6b353bb38a86d7f6155f77cb98d52de14d85
parentLaunch proxy, cache, cookies settings as (Q)Process(es) (diff)
downloadrekonq-61e498af629eee43cd88911172b6f2a1b9eba188.tar.xz
Let settings dialog to be NON modal
-rw-r--r--src/mainwindow.cpp6
-rw-r--r--src/settings/settingsdialog.cpp2
2 files changed, 4 insertions, 4 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();
}
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index 3e3a5bd4..3d5260cf 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -154,7 +154,6 @@ SettingsDialog::SettingsDialog(QWidget *parent)
{
showButtonSeparator(false);
setWindowTitle(i18nc("Window title of the settings dialog", "Configure – rekonq"));
- setModal(true);
readConfig();
@@ -177,6 +176,7 @@ SettingsDialog::SettingsDialog(QWidget *parent)
SettingsDialog::~SettingsDialog()
{
+ kDebug() << "bye bye settings...";
delete d;
}