summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-24 15:45:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-24 15:45:12 +0200
commitc63850514e1a19269077364f71c2ace59c4df506 (patch)
treefcc344581d3d28f58493b41bc382a99893a86c2c /src
parentrekonq 0.4.71 (diff)
downloadrekonq-c63850514e1a19269077364f71c2ace59c4df506.tar.xz
Fixing lost settings
Now the "fixed font" KFontRequester should show just fixed fonts..
Diffstat (limited to 'src')
-rw-r--r--src/settings/appearancewidget.cpp10
-rw-r--r--src/settings/appearancewidget.h3
-rw-r--r--src/settings/settings_appearance.ui7
3 files changed, 13 insertions, 7 deletions
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 <KFontRequester>
+
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 @@
<rect>
<x>0</x>
<y>0</y>
- <width>454</width>
- <height>371</height>
+ <width>529</width>
+ <height>429</height>
</rect>
</property>
<property name="windowTitle">
@@ -67,9 +67,6 @@
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="KFontRequester" name="kcfg_fixedFont"/>
- </item>
<item row="6" column="0">
<widget class="QLabel" name="label_4">
<property name="sizePolicy">