author | harlekin <harlekin> | 2004-04-22 18:58:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-04-22 18:58:37 (UTC) |
commit | 5c6499c56cd5c00603634546e6ba8c4d9da9741d (patch) (unidiff) | |
tree | 3ad98bb1a0150b1dd69c79fd58e6e59ce8556e51 /noncore/apps/opie-console/emulation_handler.cpp | |
parent | 53d6c4b8bfcb119635b26b78dee0ae4be8490b90 (diff) | |
download | opie-5c6499c56cd5c00603634546e6ba8c4d9da9741d.zip opie-5c6499c56cd5c00603634546e6ba8c4d9da9741d.tar.gz opie-5c6499c56cd5c00603634546e6ba8c4d9da9741d.tar.bz2 |
2400 and 4800 baud added, also free font selection
Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index 89b70c6..1a0613f 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp | |||
@@ -41,7 +41,9 @@ EmulationHandler::~EmulationHandler() { | |||
41 | } | 41 | } |
42 | 42 | ||
43 | void EmulationHandler::load( const Profile& prof) { | 43 | void EmulationHandler::load( const Profile& prof) { |
44 | m_teWid->setVTFont( font( prof.readNumEntry("Font") ) ); | 44 | |
45 | // m_teWid->setVTFont( font( prof.readNumEntry("Font") ) ); | ||
46 | m_teWid->setVTFont( QFont( prof.readEntry("Font"), prof.readNumEntry( "FontSize" ), QFont::Normal ) ); | ||
45 | int num = prof.readNumEntry("Color"); | 47 | int num = prof.readNumEntry("Color"); |
46 | setColor( foreColor(num), backColor(num) ); | 48 | setColor( foreColor(num), backColor(num) ); |
47 | m_teWid->setBackgroundColor(backColor(num) ); | 49 | m_teWid->setBackgroundColor(backColor(num) ); |