summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-30 16:56:40 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-30 16:56:40 +0100
commitc0ff12b2fbfcba0f43c9cf501ff94bccaf9c7f89 (patch)
tree0627ff26b4899e5c0757bfea8fbd1248f63ef691 /src/settings.cpp
parentIgnoring .ctagsdb (diff)
parentFixed FindBar crash && refactored to look like kate searchbar (diff)
downloadrekonq-c0ff12b2fbfcba0f43c9cf501ff94bccaf9c7f89.tar.xz
Merge branch 'xmlgui'
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index f765e18c..23b04c83 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -24,7 +24,7 @@
#include "settings.moc"
#include "browserapplication.h"
-#include "browsermainwindow.h"
+#include "mainwindow.h"
#include "cookiejar.h"
#include "history.h"
#include "networkaccessmanager.h"
@@ -77,8 +77,8 @@ Private::Private(SettingsDialog *parent)
widget = new QWidget;
appearanceUi.setupUi( widget );
widget->layout()->setMargin(0);
- pageItem = parent->addPage( widget , i18n("Appearance") );
- pageItem->setIcon( KIcon("kfontview") );
+ pageItem = parent->addPage( widget , i18n("Fonts") );
+ pageItem->setIcon( KIcon("preferences-desktop-font") );
widget = new QWidget;
privacyUi.setupUi( widget );
@@ -176,7 +176,7 @@ void SettingsDialog::loadFromSettings()
// Appearance
- KConfigGroup group2 = config.group("Appearance Settings");
+ KConfigGroup group2 = config.group("Fonts Settings");
m_fixedFont = group2.readEntry( QString("fixedFont"), m_fixedFont );
m_standardFont = group2.readEntry( QString("standardFont"), m_standardFont );
@@ -262,7 +262,7 @@ void SettingsDialog::saveToSettings()
}
group1.writeEntry(QString("historyExpire"), idx );
- KConfigGroup group2 = config.group("Appearance Settings");
+ KConfigGroup group2 = config.group("Fonts Settings");
group2.writeEntry(QString("fixedFont"), m_fixedFont);
group2.writeEntry(QString("standardFont"), m_standardFont);
@@ -366,7 +366,7 @@ void SettingsDialog::chooseFixedFont()
void SettingsDialog::setHomeToCurrentPage()
{
- BrowserMainWindow *mw = static_cast<BrowserMainWindow*>(parent());
+ MainWindow *mw = static_cast<MainWindow*>(parent());
WebView *webView = mw->currentTab();
if (webView)
{