From 6494eb0ba251e95091ba15f0aba8ad4717015922 Mon Sep 17 00:00:00 2001 From: hrw Date: Tue, 17 Jan 2006 10:10:21 +0000 Subject: Opie-console fallback to FixedFont settings from qpe.conf in config --- (limited to 'noncore') diff --git a/noncore/apps/opie-console/terminalwidget.cpp b/noncore/apps/opie-console/terminalwidget.cpp index 907de1b..91d4986 100644 --- a/noncore/apps/opie-console/terminalwidget.cpp +++ b/noncore/apps/opie-console/terminalwidget.cpp @@ -1,4 +1,5 @@ #include "terminalwidget.h" +#include /* QT */ #include @@ -151,8 +152,10 @@ void TerminalWidget::load( const Profile& prof ) { break; }; + Config qpecfg("qpe"); + qpecfg.setGroup("Appearance"); - m_fontSelector->setSelectedFont( prof.readEntry( "Font"), prof.readEntry( "FontStyle"), prof.readNumEntry( "FontSize" ), prof.readEntry( "FontCharset") ); + m_fontSelector->setSelectedFont( prof.readEntry( "Font", qpecfg.readEntry("FixedFontFamily")), prof.readEntry( "FontStyle", qpecfg.readEntry("FixedFontStyle")), prof.readNumEntry( "FontSize" , qpecfg.readNumEntry("FixedFontStyle")), prof.readEntry( "FontCharset") ); // switch( fontsize ) { // case Profile::Micro: -- cgit v0.9.0.2