summaryrefslogtreecommitdiff
path: root/src/settings/settingsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/settingsdialog.cpp')
-rw-r--r--src/settings/settingsdialog.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index 27d40467..cd64f434 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -219,3 +219,16 @@ bool SettingsDialog::hasChanged()
|| d->shortcutsEditor->isModified();
;
}
+
+
+bool SettingsDialog::isDefault()
+{
+ bool isDef = KConfigDialog::isDefault();
+
+ if(isDef)
+ {
+ // check our private widget values
+ isDef = d->appearanceWidg->isDefault();
+ }
+ return isDef;
+}