From b5951d300371cbe78fa94163aa882419e3d08d4b Mon Sep 17 00:00:00 2001 From: sandman Date: Fri, 21 Jun 2002 00:30:56 +0000 Subject: Fix for background drawing to make taskbar look nice with liquid style --- 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 @@ -74,6 +74,8 @@ InputMethods::InputMethods( QWidget *parent ) : { method = NULL; + setBackgroundMode ( PaletteBackground ); + QHBoxLayout *hbox = new QHBoxLayout( this ); kbdButton = new QToolButton( 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 @@ -40,7 +40,7 @@ QList *MRUList::task = NULL; MRUList::MRUList( QWidget *parent ) : QFrame( parent ), selected(-1), oldsel(-1) { - setBackgroundMode( PaletteButton ); + setBackgroundMode( PaletteBackground ); if (!MRUListWidgets) MRUListWidgets = new QList; if (!task) @@ -203,7 +203,8 @@ void MRUList::paintEvent( QPaintEvent * ) int y = (height() - 14) / 2; int i = 0; - p.fillRect( 0, 0, width(), height(), colorGroup().background() ); +// p.fillRect( 0, 0, width(), height(), colorGroup().background() ); + erase ( ); if ( task ) { QListIterator it( *task ); -- cgit v0.9.0.2