author | zecke <zecke> | 2002-10-14 23:19:15 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-14 23:19:15 (UTC) |
commit | 91adb54066037522a619ce5d072c2e932901fd74 (patch) (unidiff) | |
tree | 02975c077e20d5f1847c70d98b4bf9fc1c10306a | |
parent | d7290c6b24266303abd95e7f38c0fecae395f355 (diff) | |
download | opie-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
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 10 |
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 ) { | |||
68 | table[i].color = defaultCt[i].color; | 68 | table[i].color = defaultCt[i].color; |
69 | } | 69 | } |
70 | } | 70 | } |
71 | // m_teWid->setColorTable(table ); | 71 | m_teWid->setColorTable(table ); |
72 | m_teWid->update(); | 72 | m_teWid->update(); |
73 | } | 73 | } |
74 | QFont EmulationHandler::font( int id ) { | 74 | QFont EmulationHandler::font( int id ) { |
@@ -101,11 +101,11 @@ QColor EmulationHandler::foreColor(int col) { | |||
101 | case Profile::White: | 101 | case Profile::White: |
102 | qWarning("Foreground black"); | 102 | qWarning("Foreground black"); |
103 | /* color is black */ | 103 | /* color is black */ |
104 | co = Qt::black; | 104 | co = Qt::white; |
105 | break; | 105 | break; |
106 | case Profile::Black: | 106 | case Profile::Black: |
107 | qWarning("Foreground white"); | 107 | qWarning("Foreground white"); |
108 | co = Qt::white; | 108 | co = Qt::black; |
109 | break; | 109 | break; |
110 | } | 110 | } |
111 | 111 | ||
@@ -119,11 +119,11 @@ QColor EmulationHandler::backColor(int col ) { | |||
119 | case Profile::White: | 119 | case Profile::White: |
120 | qWarning("Background white"); | 120 | qWarning("Background white"); |
121 | /* color is white */ | 121 | /* color is white */ |
122 | co = Qt::white; | 122 | co = Qt::black; |
123 | break; | 123 | break; |
124 | case Profile::Black: | 124 | case Profile::Black: |
125 | qWarning("Background black"); | 125 | qWarning("Background black"); |
126 | co = Qt::black; | 126 | co = Qt::white; |
127 | break; | 127 | break; |
128 | } | 128 | } |
129 | 129 | ||