summaryrefslogtreecommitdiff
authorsandman <sandman>2002-06-21 00:30:56 (UTC)
committer sandman <sandman>2002-06-21 00:30:56 (UTC)
commitb5951d300371cbe78fa94163aa882419e3d08d4b (patch) (unidiff)
treecc52dbcba8666a86f38585b6e5032c31324e60bf
parent56649b4725b2e98d786d06f83d4b3281ea1090fb (diff)
downloadopie-b5951d300371cbe78fa94163aa882419e3d08d4b.zip
opie-b5951d300371cbe78fa94163aa882419e3d08d4b.tar.gz
opie-b5951d300371cbe78fa94163aa882419e3d08d4b.tar.bz2
Fix for background drawing to make taskbar look nice with liquid style
Diffstat (more/less context) (show 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
@@ -74,6 +74,8 @@ InputMethods::InputMethods( QWidget *parent ) :
74{ 74{
75 method = NULL; 75 method = NULL;
76 76
77 setBackgroundMode ( PaletteBackground );
78
77 QHBoxLayout *hbox = new QHBoxLayout( this ); 79 QHBoxLayout *hbox = new QHBoxLayout( this );
78 80
79 kbdButton = new QToolButton( this ); 81 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<AppLnk> *MRUList::task = NULL;
40MRUList::MRUList( QWidget *parent ) 40MRUList::MRUList( QWidget *parent )
41 : QFrame( parent ), selected(-1), oldsel(-1) 41 : QFrame( parent ), selected(-1), oldsel(-1)
42{ 42{
43 setBackgroundMode( PaletteButton ); 43 setBackgroundMode( PaletteBackground );
44 if (!MRUListWidgets) 44 if (!MRUListWidgets)
45 MRUListWidgets = new QList<MRUList>; 45 MRUListWidgets = new QList<MRUList>;
46 if (!task) 46 if (!task)
@@ -203,7 +203,8 @@ void MRUList::paintEvent( QPaintEvent * )
203 int y = (height() - 14) / 2; 203 int y = (height() - 14) / 2;
204 int i = 0; 204 int i = 0;
205 205
206 p.fillRect( 0, 0, width(), height(), colorGroup().background() ); 206// p.fillRect( 0, 0, width(), height(), colorGroup().background() );
207 erase ( );
207 208
208 if ( task ) { 209 if ( task ) {
209 QListIterator<AppLnk> it( *task ); 210 QListIterator<AppLnk> it( *task );