diff options
| author | Peter Penz <[email protected]> | 2007-03-13 19:46:49 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-13 19:46:49 +0000 |
| commit | 27b9f6aa12bcc2f49cac72850ccbdc3990d0b844 (patch) | |
| tree | 28d0fdc82c477cb9b6fd91563872079cf1bdab15 /src/dolphindetailsview.cpp | |
| parent | 507984415a2953000ef1edb77c9dbc3364846b13 (diff) | |
Use KFontRequester for dialogs as suggested by Ellen at http://wiki.openusability.org/guidelines/index.php/Practical_Examples:Configuration_Dialogs. TODO: get rid of Qt3 classes in these dialogs and use a more sensible spacing/margin
svn path=/trunk/KDE/kdebase/apps/; revision=642269
Diffstat (limited to 'src/dolphindetailsview.cpp')
| -rw-r--r-- | src/dolphindetailsview.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 123cfe3b3..dc05ef3ea 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -75,7 +75,12 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr Q_ASSERT(settings != 0); m_viewOptions = QTreeView::viewOptions(); - m_viewOptions.font = QFont(settings->fontFamily(), settings->fontSize()); + + QFont font(settings->fontFamily(), settings->fontSize()); + font.setItalic(settings->italicFont()); + font.setBold(settings->boldFont()); + m_viewOptions.font = font; + updateDecorationSize(); } |
