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 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index 787de67..c67c7c7 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp | |||
@@ -11,4 +11,4 @@ EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent, const | |||
11 | { | 11 | { |
12 | load(prof ); | ||
13 | m_teWid = new TEWidget( parent, "TerminalMain" ); | 12 | m_teWid = new TEWidget( parent, "TerminalMain" ); |
13 | m_teWid->setMinimumSize(150, 70 ); | ||
14 | parent->resize( m_teWid->calcSize(80, 24 ) ); | 14 | parent->resize( m_teWid->calcSize(80, 24 ) ); |
@@ -20,2 +20,6 @@ EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent, const | |||
20 | this, SLOT(recvEmulation(const char*, int) ) ); | 20 | this, SLOT(recvEmulation(const char*, int) ) ); |
21 | m_teEmu->setConnect( true ); | ||
22 | load( prof ); | ||
23 | |||
24 | |||
21 | 25 | ||
@@ -27,3 +31,6 @@ EmulationHandler::~EmulationHandler() { | |||
27 | void EmulationHandler::load( const Profile& ) { | 31 | void EmulationHandler::load( const Profile& ) { |
28 | 32 | QFont font = QFont("Fixed", 12, QFont::Normal ); | |
33 | font.setFixedPitch(TRUE); | ||
34 | m_teWid->setVTFont( font ); | ||
35 | m_teWid->setBackgroundColor(Qt::black ); | ||
29 | } | 36 | } |