┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-04-12 20:01:31 +0200
committerPeter Penz <[email protected]>2011-04-12 20:08:08 +0200
commitde077f8477c0b7077ed9239be8741fcb67658ffa (patch)
tree2057f6b2e6aa34d20b997cebb7a60ce6a0dff334 /src/settings
parenta19e78d75b0bc451685d2248be0ec474b3c18966 (diff)
Let each DolphinMainWindow run in a custom process
A possible crash in one Dolphin window should not result in crashing other Dolphin windows. Beside this it also prevents issues with modal dialogs or notifications. BUG: 269950 BUG: 206053 BUG: 196034 FIXED-IN: 4.7.0
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/dolphinsettingsdialog.cpp3
-rw-r--r--src/settings/dolphinsettingsdialog.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/settings/dolphinsettingsdialog.cpp b/src/settings/dolphinsettingsdialog.cpp
index 611648561..b1988ddc1 100644
--- a/src/settings/dolphinsettingsdialog.cpp
+++ b/src/settings/dolphinsettingsdialog.cpp
@@ -129,7 +129,6 @@ void DolphinSettingsDialog::applySettings()
foreach (SettingsPageBase* page, m_pages) {
page->applySettings();
}
- DolphinApplication::app()->refreshMainWindows();
GeneralSettings* settings = DolphinSettings::instance().generalSettings();
if (settings->modifiedStartupSettings()) {
@@ -140,6 +139,8 @@ void DolphinSettingsDialog::applySettings()
}
enableButtonApply(false);
+
+ emit settingsChanged();
}
void DolphinSettingsDialog::restoreDefaults()
diff --git a/src/settings/dolphinsettingsdialog.h b/src/settings/dolphinsettingsdialog.h
index 8ff94476f..2de195017 100644
--- a/src/settings/dolphinsettingsdialog.h
+++ b/src/settings/dolphinsettingsdialog.h
@@ -39,6 +39,9 @@ public:
explicit DolphinSettingsDialog(const KUrl& url, QWidget* parent = 0);
virtual ~DolphinSettingsDialog();
+signals:
+ void settingsChanged();
+
protected slots:
/** @see KDialog::slotButtonClicked() */
virtual void slotButtonClicked(int button);