From 8699473dd4e21242b1c98192c2dd38655177762b Mon Sep 17 00:00:00 2001 From: harlekin Date: Wed, 11 Sep 2002 10:48:38 +0000 Subject: looks now nice on liquid - again --- (limited to 'core') diff --git a/core/launcher/runningappbar.cpp b/core/launcher/runningappbar.cpp index 298f671..b830d1b 100644 --- a/core/launcher/runningappbar.cpp +++ b/core/launcher/runningappbar.cpp @@ -40,6 +40,8 @@ RunningAppBar::RunningAppBar(QWidget* parent) : QFrame(parent), m_AppLnkSet(0L), m_SelectedAppIndex(-1) { + setBackgroundMode( PaletteBackground ); + m_AppLnkSet = new AppLnkSet( QPEApplication::qpeDir() + "apps" ); connect(qwsServer, SIGNAL(newChannel(const QString&)), this, SLOT(newQcopChannel(const QString&))); @@ -168,7 +170,7 @@ void RunningAppBar::paintEvent( QPaintEvent * ) int y = (height() - AppLnk::smallIconSize()) / 2; int i = 0; - p.fillRect( 0, 0, width(), height(), colorGroup().background() ); + //p.fillRect( 0, 0, width(), height(), colorGroup().background() ); QListIterator it(m_AppList); @@ -178,7 +180,7 @@ void RunningAppBar::paintEvent( QPaintEvent * ) if ( (int)i == m_SelectedAppIndex ) p.fillRect( x, y, spacing, curApp->pixmap().height()+1, colorGroup().highlight() ); else - p.eraseRect( x, y, spacing, curApp->pixmap().height()+1 ); + // p.eraseRect( x, y, spacing, curApp->pixmap().height()+1 ); p.drawPixmap( x, y, curApp->pixmap() ); x += spacing; } -- cgit v0.9.0.2