Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.cpp') (more/less context) (ignore whitespace changes)
-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: |