diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-07-29 13:27:28 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-07-29 13:27:28 +0200 |
commit | bdf09030a60214b5476cbfaa5c6237d54d4dec2d (patch) | |
tree | a4cd91d1637d7a9b6e9ffec2987486ef1dae2ddd /src/settings/settingsdialog.cpp | |
parent | rekonq 0.5.52 (diff) | |
download | rekonq-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.cpp | 13 |
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; +} |