summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/inputmethods.cpp6
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
@@ -81,7 +81,10 @@ class IMToolButton : public QToolButton
81{ 81{
82public: 82public:
83 IMToolButton::IMToolButton( QWidget *parent ) : QToolButton( parent ) 83 IMToolButton::IMToolButton( QWidget *parent ) : QToolButton( parent )
84 { setWFlags( WStyle_Tool ); } 84 { setWFlags( WStyle_Tool );
85 setBackgroundOrigin( ParentOrigin );
86 setBackgroundMode( PaletteBackground );
87 }
85}; 88};
86 89
87 90
@@ -91,6 +94,7 @@ InputMethods::InputMethods( QWidget *parent ) :
91{ 94{
92 readConfig(); 95 readConfig();
93 96
97 setBackgroundOrigin( ParentOrigin );
94 setBackgroundMode( PaletteBackground ); 98 setBackgroundMode( PaletteBackground );
95 QHBoxLayout *hbox = new QHBoxLayout( this ); 99 QHBoxLayout *hbox = new QHBoxLayout( this );
96 100