summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/inputmethods.cpp2
-rw-r--r--core/launcher/mrulist.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/core/launcher/inputmethods.cpp b/core/launcher/inputmethods.cpp
index da98e07..ac72b02 100644
--- a/core/launcher/inputmethods.cpp
+++ b/core/launcher/inputmethods.cpp
@@ -75,4 +75,6 @@ InputMethods::InputMethods( QWidget *parent ) :
method = NULL;
+ setBackgroundMode ( PaletteBackground );
+
QHBoxLayout *hbox = new QHBoxLayout( this );
diff --git a/core/launcher/mrulist.cpp b/core/launcher/mrulist.cpp
index 5590d38..0530fd6 100644
--- a/core/launcher/mrulist.cpp
+++ b/core/launcher/mrulist.cpp
@@ -41,5 +41,5 @@ MRUList::MRUList( QWidget *parent )
: QFrame( parent ), selected(-1), oldsel(-1)
{
- setBackgroundMode( PaletteButton );
+ setBackgroundMode( PaletteBackground );
if (!MRUListWidgets)
MRUListWidgets = new QList<MRUList>;
@@ -204,5 +204,6 @@ void MRUList::paintEvent( QPaintEvent * )
int i = 0;
- p.fillRect( 0, 0, width(), height(), colorGroup().background() );
+// p.fillRect( 0, 0, width(), height(), colorGroup().background() );
+ erase ( );
if ( task ) {