-rw-r--r-- | core/launcher/inputmethods.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/launcher/inputmethods.cpp b/core/launcher/inputmethods.cpp index 7e99796..586628b 100644 --- a/core/launcher/inputmethods.cpp +++ b/core/launcher/inputmethods.cpp @@ -83,3 +83,6 @@ public: IMToolButton::IMToolButton( QWidget *parent ) : QToolButton( parent ) - { setWFlags( WStyle_Tool ); } + { setWFlags( WStyle_Tool ); + setBackgroundOrigin( ParentOrigin ); + setBackgroundMode( PaletteBackground ); + } }; @@ -93,2 +96,3 @@ InputMethods::InputMethods( QWidget *parent ) : + setBackgroundOrigin( ParentOrigin ); setBackgroundMode( PaletteBackground ); |