author | harlekin <harlekin> | 2004-04-22 19:42:52 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-04-22 19:42:52 (UTC) |
commit | 47d4d04c8b593d9d26c262add5b16d9ce3868866 (patch) (unidiff) | |
tree | fed29f8c72cb345a770826a3ded7fc50a1311e20 | |
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 | |||
@@ -38,17 +38,20 @@ EmulationHandler::~EmulationHandler() { | |||
38 | clearScript(); | 38 | clearScript(); |
39 | delete m_teEmu; | 39 | delete m_teEmu; |
40 | delete m_teWid; | 40 | delete m_teWid; |
41 | } | 41 | } |
42 | 42 | ||
43 | void EmulationHandler::load( const Profile& prof) { | 43 | void EmulationHandler::load( const Profile& prof) { |
44 | 44 | ||
45 | // m_teWid->setVTFont( font( prof.readNumEntry("Font") ) ); | 45 | // m_teWid->setVTFont( font( prof.readNumEntry("Font") ) ); |
46 | m_teWid->setVTFont( QFont( prof.readEntry("Font"), prof.readNumEntry( "FontSize" ), QFont::Normal ) ); | 46 | QFont font( prof.readEntry("Font"), prof.readNumEntry( "FontSize" ), QFont::Normal ); |
47 | font.setFixedPitch( TRUE ); | ||
48 | m_teWid->setVTFont( font ); | ||
49 | |||
47 | int num = prof.readNumEntry("Color"); | 50 | int num = prof.readNumEntry("Color"); |
48 | setColor( foreColor(num), backColor(num) ); | 51 | setColor( foreColor(num), backColor(num) ); |
49 | m_teWid->setBackgroundColor(backColor(num) ); | 52 | m_teWid->setBackgroundColor(backColor(num) ); |
50 | 53 | ||
51 | int term = prof.readNumEntry("Terminal", 0) ; | 54 | int term = prof.readNumEntry("Terminal", 0) ; |
52 | switch(term) { | 55 | switch(term) { |
53 | default: | 56 | default: |
54 | case Profile::VT102: | 57 | case Profile::VT102: |