summaryrefslogtreecommitdiffabout
path: root/microkde/kconfig.cpp
authorzautrix <zautrix>2004-07-08 09:52:31 (UTC)
committer zautrix <zautrix>2004-07-08 09:52:31 (UTC)
commit40cf8102d2f38b5e952b889ffbd19cb1d428fc9b (patch) (side-by-side diff)
treed6b0a7855560b68910e1e63a3dc114316b653433 /microkde/kconfig.cpp
parente8628e6e3e98f2276fb69bbc545866cc9a022228 (diff)
downloadkdepimpi-40cf8102d2f38b5e952b889ffbd19cb1d428fc9b.zip
kdepimpi-40cf8102d2f38b5e952b889ffbd19cb1d428fc9b.tar.gz
kdepimpi-40cf8102d2f38b5e952b889ffbd19cb1d428fc9b.tar.bz2
Fix in kconfig::readfont
Diffstat (limited to 'microkde/kconfig.cpp') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kconfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kconfig.cpp b/microkde/kconfig.cpp
index 71db891..737b3f2 100644
--- a/microkde/kconfig.cpp
+++ b/microkde/kconfig.cpp
@@ -142,9 +142,9 @@ QFont KConfig::readFontEntry( const QString & e, QFont *def )
QFont f;
f.setFamily( font[0]);
f.setBold ( font[1] == "bold");
f.setPointSize ( font[2].toInt());
- f.setItalic( font[1] == "italic" );
+ f.setItalic( font[3] == "italic" );
return f;
}
QDateTime KConfig::readDateTimeEntry( const QString &key, const QDateTime *def )