summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -65,13 +65,13 @@ void EmulationHandler::setColor( const QColor& fore, const QColor& back ) {
table[i].color = back;
table[i].transparent = 0;
}else {
table[i].color = defaultCt[i].color;
}
}
-// m_teWid->setColorTable(table );
+ m_teWid->setColorTable(table );
m_teWid->update();
}
QFont EmulationHandler::font( int id ) {
QString name;
int size = 0;
switch(id ) {
@@ -98,17 +98,17 @@ QColor EmulationHandler::foreColor(int col) {
/* we need to switch it */
switch( col ) {
default:
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;
}
return co;
}
QColor EmulationHandler::backColor(int col ) {
@@ -116,16 +116,16 @@ QColor EmulationHandler::backColor(int col ) {
/* we need to switch it */
switch( col ) {
default:
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;
}
return co;
}