summaryrefslogtreecommitdiff
path: root/inputmethods
Unidiff
Diffstat (limited to 'inputmethods') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 89937cf..e3d3928 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -232,4 +232,5 @@ void Keyboard::drawKeyboard(QPainter &p, int row, int col)
232 ushort c = keys->uni(row, col); 232 ushort c = keys->uni(row, col);
233 233
234 p.setPen(textcolor);
234 if (!pix) { 235 if (!pix) {
235 if ((shift || lock) && keys->shift(c)) 236 if ((shift || lock) && keys->shift(c))
@@ -239,5 +240,5 @@ void Keyboard::drawKeyboard(QPainter &p, int row, int col)
239 240
240 p.drawText(x, y, 241 p.drawText(x, y,
241 defaultKeyWidth * keyWidth + 3, keyHeight, 242 keyWidthPix + 3, keyHeight,
242 AlignCenter, (QChar)c); 243 AlignCenter, (QChar)c);
243 } 244 }
@@ -257,4 +258,5 @@ void Keyboard::drawKeyboard(QPainter &p, int row, int col)
257 258
258 } 259 }
260 p.setPen(keycolor_lines);
259 p.drawLine(0, height() - 1, width(), height() - 1); 261 p.drawLine(0, height() - 1, width(), height() - 1);
260 p.drawLine(width() - 1, 0, width() - 1, height()); 262 p.drawLine(width() - 1, 0, width() - 1, height());