diff options
| author | Peter Penz <[email protected]> | 2008-02-17 15:50:06 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-17 15:50:06 +0000 |
| commit | 51cbeaf512da9ebaefb0bfcaa21cca0f47d1b79d (patch) | |
| tree | edc8cfe7ed230f4b017560efff561f6626bb9e91 /src/columnviewsettingspage.cpp | |
| parent | 98497a639a8ddba1bbe52ea96f54c5d40e53eef9 (diff) | |
* if the system font is changed during Dolphin is open, take care to update the used font of all views too (assuming that the user selected "system font" as font)
* store the font weight instead of a bool property "isBold"
Thanks to Rafael for the patch!
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=776188
Diffstat (limited to 'src/columnviewsettingspage.cpp')
| -rw-r--r-- | src/columnviewsettingspage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/columnviewsettingspage.cpp b/src/columnviewsettingspage.cpp index f5e2319bf..44d2a4127 100644 --- a/src/columnviewsettingspage.cpp +++ b/src/columnviewsettingspage.cpp @@ -127,7 +127,7 @@ void ColumnViewSettingsPage::applySettings() settings->setFontFamily(font.family()); settings->setFontSize(font.pointSize()); settings->setItalicFont(font.italic()); - settings->setBoldFont(font.bold()); + settings->setFontWeight(font.weight()); const int columnWidth = 150 + (m_columnWidthSlider->value() * 50); settings->setColumnWidth(columnWidth); @@ -164,7 +164,7 @@ void ColumnViewSettingsPage::loadSettings() QFont font(settings->fontFamily(), settings->fontSize()); font.setItalic(settings->italicFont()); - font.setBold(settings->boldFont()); + font.setWeight(settings->fontWeight()); m_fontRequester->setMode(DolphinFontRequester::CustomFont); m_fontRequester->setCustomFont(font); } |
