summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius Štikonas <andrius@stikonas.eu>2016-06-10 23:38:25 (GMT)
committerAndrius Štikonas <andrius@stikonas.eu>2016-06-10 23:38:25 (GMT)
commit3c117f274438fe2a33306d7d13316d535d93f174 (patch)
treebc9b22d10fd1324c42b7abf87cb54af66f692e35
parent42d05fedc25cbdf666b2f9bfc34d7b591c969474 (diff)
Port away from KGlobalSettings::fixedFont().
-rw-r--r--keysmanager.cpp2
-rw-r--r--kgpg.kcfg4
2 files changed, 3 insertions, 3 deletions
diff --git a/keysmanager.cpp b/keysmanager.cpp
index e78cf38..cc8c0db 100644
--- a/keysmanager.cpp
+++ b/keysmanager.cpp
@@ -457,7 +457,7 @@ KeysManager::KeysManager(QWidget *parent)
iview->setColumnHidden(5, !KGpgSettings::showExpi());
iproxy->setOnlySecret(KGpgSettings::showSecret());
- m_statusBarLabel.setAlignment (Qt::AlignCenter);
+ m_statusBarLabel.setAlignment(Qt::AlignCenter);
statusBar()->addPermanentWidget(&m_statusBarLabel);
cg = KConfigGroup(KSharedConfig::openConfig().data(), "MainWindow");
diff --git a/kgpg.kcfg b/kgpg.kcfg
index 62f54f4..ca0b6fb 100644
--- a/kgpg.kcfg
+++ b/kgpg.kcfg
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
- <include>kglobalsettings.h</include>
+ <include>QFontDatabase</include>
<include>kgpg.h</include>
<kcfgfile name="kgpgrc"/>
@@ -223,7 +223,7 @@
<group name="Text Font">
<entry name="Font" type="Font" key="KEditFont">
<label>Font</label>
- <default code="true">KGlobalSettings::fixedFont()</default>
+ <default code="true">QFontDatabase::systemFont(QFontDatabase::FixedFont)</default>
</entry>
</group>