author | mickeyl <mickeyl> | 2003-11-17 11:03:44 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-17 11:03:44 (UTC) |
commit | 725e2723291fe1d71ca68cb59cec83428d40b8af (patch) (unidiff) | |
tree | 2c9cb7b26af0c1adea965be4ea458e52ad386a7c /core/launcher | |
parent | a13d188a20f66546d4d96c0c1c06b1f05b69418b (diff) | |
download | opie-725e2723291fe1d71ca68cb59cec83428d40b8af.zip opie-725e2723291fe1d71ca68cb59cec83428d40b8af.tar.gz opie-725e2723291fe1d71ca68cb59cec83428d40b8af.tar.bz2 |
hide inputmethod also when not floating
-rw-r--r-- | core/launcher/inputmethods.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/inputmethods.cpp b/core/launcher/inputmethods.cpp index 62e316c..5d8faf7 100644 --- a/core/launcher/inputmethods.cpp +++ b/core/launcher/inputmethods.cpp | |||
@@ -582,27 +582,27 @@ void InputMethods::showKbd( bool on ) | |||
582 | if ( inputWidgetStyle & QWidget::WStyle_DialogBorder ) | 582 | if ( inputWidgetStyle & QWidget::WStyle_DialogBorder ) |
583 | { | 583 | { |
584 | QPoint pos = mkeyboard->widget->pos(); | 584 | QPoint pos = mkeyboard->widget->pos(); |
585 | QSize siz = mkeyboard->widget->size(); | 585 | QSize siz = mkeyboard->widget->size(); |
586 | qDebug( "InputMethods: saving geometry." ); | 586 | qDebug( "InputMethods: saving geometry." ); |
587 | Config cfg( "Launcher" ); | 587 | Config cfg( "Launcher" ); |
588 | cfg.setGroup( "InputMethods" ); | 588 | cfg.setGroup( "InputMethods" ); |
589 | cfg.writeEntry( "absX", pos.x() ); | 589 | cfg.writeEntry( "absX", pos.x() ); |
590 | cfg.writeEntry( "absY", pos.y() ); | 590 | cfg.writeEntry( "absY", pos.y() ); |
591 | cfg.writeEntry( "absWidth", siz.width() ); | 591 | cfg.writeEntry( "absWidth", siz.width() ); |
592 | cfg.writeEntry( "absHeight", siz.height() ); | 592 | cfg.writeEntry( "absHeight", siz.height() ); |
593 | cfg.write(); | 593 | cfg.write(); |
594 | mkeyboard->widget->hide(); | ||
595 | mkeyboard->widget->removeEventFilter( this ); | 594 | mkeyboard->widget->removeEventFilter( this ); |
596 | } | 595 | } |
596 | mkeyboard->widget->hide(); | ||
597 | } | 597 | } |
598 | 598 | ||
599 | emit inputToggled( on ); | 599 | emit inputToggled( on ); |
600 | } | 600 | } |
601 | 601 | ||
602 | bool InputMethods::shown() const | 602 | bool InputMethods::shown() const |
603 | { | 603 | { |
604 | return mkeyboard && mkeyboard->widget->isVisible(); | 604 | return mkeyboard && mkeyboard->widget->isVisible(); |
605 | } | 605 | } |
606 | 606 | ||
607 | QString InputMethods::currentShown() const | 607 | QString InputMethods::currentShown() const |
608 | { | 608 | { |