author | harlekin <harlekin> | 2004-04-22 19:42:52 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-04-22 19:42:52 (UTC) |
commit | 47d4d04c8b593d9d26c262add5b16d9ce3868866 (patch) (side-by-side diff) | |
tree | fed29f8c72cb345a770826a3ded7fc50a1311e20 /noncore | |
parent | e9d1a3bf70b2f79f47a4d5ad826712aa5d654d8e (diff) | |
download | opie-47d4d04c8b593d9d26c262add5b16d9ce3868866.zip opie-47d4d04c8b593d9d26c262add5b16d9ce3868866.tar.gz opie-47d4d04c8b593d9d26c262add5b16d9ce3868866.tar.bz2 |
set fixed
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index 1a0613f..c8022b9 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp @@ -43,7 +43,10 @@ EmulationHandler::~EmulationHandler() { void EmulationHandler::load( const Profile& prof) { // m_teWid->setVTFont( font( prof.readNumEntry("Font") ) ); - m_teWid->setVTFont( QFont( prof.readEntry("Font"), prof.readNumEntry( "FontSize" ), QFont::Normal ) ); + QFont font( prof.readEntry("Font"), prof.readNumEntry( "FontSize" ), QFont::Normal ); + font.setFixedPitch( TRUE ); + m_teWid->setVTFont( font ); + int num = prof.readNumEntry("Color"); setColor( foreColor(num), backColor(num) ); m_teWid->setBackgroundColor(backColor(num) ); |