-rw-r--r-- | core/launcher/runningappbar.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ -41,4 +41,6 @@ RunningAppBar::RunningAppBar(QWidget* parent) : QFrame(parent), m_AppLnkSet(0L), m_SelectedAppIndex(-1) { + setBackgroundMode( PaletteBackground ); + m_AppLnkSet = new AppLnkSet( QPEApplication::qpeDir() + "apps" ); @@ -169,5 +171,5 @@ void RunningAppBar::paintEvent( QPaintEvent * ) int i = 0; - p.fillRect( 0, 0, width(), height(), colorGroup().background() ); + //p.fillRect( 0, 0, width(), height(), colorGroup().background() ); QListIterator<AppLnk> it(m_AppList); @@ -179,5 +181,5 @@ void RunningAppBar::paintEvent( QPaintEvent * ) 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; |