From c63850514e1a19269077364f71c2ace59c4df506 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 24 May 2010 15:45:12 +0200 Subject: Fixing lost settings Now the "fixed font" KFontRequester should show just fixed fonts.. --- src/settings/appearancewidget.cpp | 10 ++++++++-- src/settings/appearancewidget.h | 3 +++ src/settings/settings_appearance.ui | 7 ++----- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/settings/appearancewidget.cpp b/src/settings/appearancewidget.cpp index 875b67d2..40f53a85 100644 --- a/src/settings/appearancewidget.cpp +++ b/src/settings/appearancewidget.cpp @@ -28,14 +28,20 @@ #include "appearancewidget.h" #include "appearancewidget.moc" +// KDE Includes +#include + AppearanceWidget::AppearanceWidget(QWidget *parent) : QWidget(parent) , _changed(false) { setupUi(this); - -// kcfg_fixedFont->setOnlyFixed(true); + + KFontRequester *fixedFontRequester = new KFontRequester(this, true); + fixedFontRequester->setObjectName( QL1S("kcfg_fixedFont") ); + + gridLayout->addWidget(fixedFontRequester, 1, 1, 1, 1); } diff --git a/src/settings/appearancewidget.h b/src/settings/appearancewidget.h index 0e400031..5c7ddc6d 100644 --- a/src/settings/appearancewidget.h +++ b/src/settings/appearancewidget.h @@ -28,6 +28,9 @@ #define APPEARANCE_WIDGET_H +// Rekonq Includes +#include "rekonq_defines.h" + // Ui Includes #include "ui_settings_appearance.h" diff --git a/src/settings/settings_appearance.ui b/src/settings/settings_appearance.ui index b564033c..92d15cc6 100644 --- a/src/settings/settings_appearance.ui +++ b/src/settings/settings_appearance.ui @@ -6,8 +6,8 @@ 0 0 - 454 - 371 + 529 + 429 @@ -67,9 +67,6 @@ - - - -- cgit v1.2.1