summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}