summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-14 23:19:15 (UTC)
committer zecke <zecke>2002-10-14 23:19:15 (UTC)
commit91adb54066037522a619ce5d072c2e932901fd74 (patch) (side-by-side diff)
tree02975c077e20d5f1847c70d98b4bf9fc1c10306a
parentd7290c6b24266303abd95e7f38c0fecae395f355 (diff)
downloadopie-91adb54066037522a619ce5d072c2e932901fd74.zip
opie-91adb54066037522a619ce5d072c2e932901fd74.tar.gz
opie-91adb54066037522a619ce5d072c2e932901fd74.tar.bz2
Fonts are now right!
Close or exit in the console window does make the app han
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/emulation_handler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp
index 48218e6..9f34d2c 100644
--- a/noncore/apps/opie-console/emulation_handler.cpp
+++ b/noncore/apps/opie-console/emulation_handler.cpp
@@ -68,7 +68,7 @@ void EmulationHandler::setColor( const QColor& fore, const QColor& back ) {
table[i].color = defaultCt[i].color;
}
}
-// m_teWid->setColorTable(table );
+ m_teWid->setColorTable(table );
m_teWid->update();
}
QFont EmulationHandler::font( int id ) {
@@ -101,11 +101,11 @@ QColor EmulationHandler::foreColor(int col) {
case Profile::White:
qWarning("Foreground black");
/* color is black */
- co = Qt::black;
+ co = Qt::white;
break;
case Profile::Black:
qWarning("Foreground white");
- co = Qt::white;
+ co = Qt::black;
break;
}
@@ -119,11 +119,11 @@ QColor EmulationHandler::backColor(int col ) {
case Profile::White:
qWarning("Background white");
/* color is white */
- co = Qt::white;
+ co = Qt::black;
break;
case Profile::Black:
qWarning("Background black");
- co = Qt::black;
+ co = Qt::white;
break;
}