author | zecke <zecke> | 2002-10-15 10:55:58 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-15 10:55:58 (UTC) |
commit | f2e9de1c8b6d3b2b2e82dec23ebf502c5805f575 (patch) (unidiff) | |
tree | 108efdb1a75a78dd212a69ccad718c2e65ece0bf /noncore/apps/opie-console/emulation_handler.cpp | |
parent | daae7a75b0e9ccbf1ea4c699c631ad77825e6301 (diff) | |
download | opie-f2e9de1c8b6d3b2b2e82dec23ebf502c5805f575.zip opie-f2e9de1c8b6d3b2b2e82dec23ebf502c5805f575.tar.gz opie-f2e9de1c8b6d3b2b2e82dec23ebf502c5805f575.tar.bz2 |
Remove debugging output
Fix possible crashes in io_bt and io_irda
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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index 836a05b..b2cd348 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp | |||
@@ -37,11 +37,9 @@ void EmulationHandler::load( const Profile& prof) { | |||
37 | m_teWid->setBackgroundColor(backColor(num) ); | 37 | m_teWid->setBackgroundColor(backColor(num) ); |
38 | } | 38 | } |
39 | void EmulationHandler::recv( const QByteArray& ar) { | 39 | void EmulationHandler::recv( const QByteArray& ar) { |
40 | qWarning("received in EmulationHandler!"); | ||
41 | m_teEmu->onRcvBlock(ar.data(), ar.count() ); | 40 | m_teEmu->onRcvBlock(ar.data(), ar.count() ); |
42 | } | 41 | } |
43 | void EmulationHandler::recvEmulation(const char* src, int len ) { | 42 | void EmulationHandler::recvEmulation(const char* src, int len ) { |
44 | qWarning("received from te "); | ||
45 | QByteArray ar(len); | 43 | QByteArray ar(len); |
46 | 44 | ||
47 | memcpy(ar.data(), src, sizeof(char) * len ); | 45 | memcpy(ar.data(), src, sizeof(char) * len ); |
@@ -99,12 +97,10 @@ QColor EmulationHandler::foreColor(int col) { | |||
99 | switch( col ) { | 97 | switch( col ) { |
100 | default: | 98 | default: |
101 | case Profile::White: | 99 | case Profile::White: |
102 | qWarning("Foreground black"); | ||
103 | /* color is black */ | 100 | /* color is black */ |
104 | co = Qt::white; | 101 | co = Qt::white; |
105 | break; | 102 | break; |
106 | case Profile::Black: | 103 | case Profile::Black: |
107 | qWarning("Foreground white"); | ||
108 | co = Qt::black; | 104 | co = Qt::black; |
109 | break; | 105 | break; |
110 | case Profile::Green: | 106 | case Profile::Green: |
@@ -126,12 +122,10 @@ QColor EmulationHandler::backColor(int col ) { | |||
126 | switch( col ) { | 122 | switch( col ) { |
127 | default: | 123 | default: |
128 | case Profile::White: | 124 | case Profile::White: |
129 | qWarning("Background white"); | ||
130 | /* color is white */ | 125 | /* color is white */ |
131 | co = Qt::black; | 126 | co = Qt::black; |
132 | break; | 127 | break; |
133 | case Profile::Black: | 128 | case Profile::Black: |
134 | qWarning("Background black"); | ||
135 | co = Qt::white; | 129 | co = Qt::white; |
136 | break; | 130 | break; |
137 | case Profile::Green: | 131 | case Profile::Green: |