Diffstat (limited to 'inputmethods/multikey/keyboard.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | inputmethods/multikey/keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp index 1d91b82..b793391 100644 --- a/inputmethods/multikey/keyboard.cpp +++ b/inputmethods/multikey/keyboard.cpp | |||
@@ -446,25 +446,25 @@ void Keyboard::clearHighlight() | |||
446 | pressedKeyCol = -1; | 446 | pressedKeyCol = -1; |
447 | 447 | ||
448 | QPainter p(this); | 448 | QPainter p(this); |
449 | drawKeyboard(p, tmpRow, tmpCol); | 449 | drawKeyboard(p, tmpRow, tmpCol); |
450 | } | 450 | } |
451 | } | 451 | } |
452 | 452 | ||
453 | 453 | ||
454 | /* Keyboard::sizeHint {{{1 */ | 454 | /* Keyboard::sizeHint {{{1 */ |
455 | QSize Keyboard::sizeHint() const | 455 | QSize Keyboard::sizeHint() const |
456 | { | 456 | { |
457 | QFontMetrics fm=fontMetrics(); | 457 | QFontMetrics fm=fontMetrics(); |
458 | int keyHeight = fm.lineSpacing(); | 458 | int keyHeight = fm.lineSpacing() + 2; |
459 | 459 | ||
460 | return QSize( 240, keyHeight * 5 + (usePicks ? picks->sizeHint().height() : 0) + 1); | 460 | return QSize( 240, keyHeight * 5 + (usePicks ? picks->sizeHint().height() : 0) + 1); |
461 | } | 461 | } |
462 | 462 | ||
463 | 463 | ||
464 | void Keyboard::resetState() | 464 | void Keyboard::resetState() |
465 | { | 465 | { |
466 | schar = mchar = echar = 0; | 466 | schar = mchar = echar = 0; |
467 | picks->resetState(); | 467 | picks->resetState(); |
468 | } | 468 | } |
469 | 469 | ||
470 | /* Keyboard::togglePickboard {{{1 */ | 470 | /* Keyboard::togglePickboard {{{1 */ |