-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/terminalwidget.cpp | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -16,12 +16,13 @@ * #1492 - Backup and Restore does not show list of backups to restore on start (hrw) * n.a. - remove hardcoded font size from wellenreiter (hrw) * n.a. - added patch to build QT/E 2.3.10 with gcc 4.x.x (hrw) * n.a. - make blue-pin UI resizable to looks good in any resolution (hrw) * n.a. - fix a problem with vCard send to Sony Ericsson k600i (ar) * n.a. - add a patch to build Qt/E 2.3.10 on amd64 with gcc 4.x.x (ar) + * n.a. - Opie-console fallback to FixedFont settings from qpe.conf in config (hrw) 2005-09-11 Opie 1.2.1 New Features ------------ 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,7 +1,8 @@ #include "terminalwidget.h" +#include <qpe/config.h> /* QT */ #include <qlabel.h> #include <qcheckbox.h> #include <qcombobox.h> #include <qradiobutton.h> @@ -148,14 +149,16 @@ void TerminalWidget::load( const Profile& prof ) { m_colorCmb->setCurrentItem(id_term_orange ); break; default: 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: // m_sizeSmall->setChecked(true ); // break; // case Profile::Small: |