summaryrefslogtreecommitdiff
path: root/src/settings/settingsdialog.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-07-29 13:27:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-07-29 13:27:28 +0200
commitbdf09030a60214b5476cbfaa5c6237d54d4dec2d (patch)
treea4cd91d1637d7a9b6e9ffec2987486ef1dae2ddd /src/settings/settingsdialog.cpp
parentrekonq 0.5.52 (diff)
downloadrekonq-bdf09030a60214b5476cbfaa5c6237d54d4dec2d.tar.xz
Fix && improve fonts management.
This should save from fonts crash reported by pano &&.. (sorry, cannot remember your name)
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;
+}