summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-09-11 10:48:38 (UTC)
committer harlekin <harlekin>2002-09-11 10:48:38 (UTC)
commit8699473dd4e21242b1c98192c2dd38655177762b (patch) (unidiff)
tree2fe54c8c306eacbf91e8d06b602d332d092bff20
parent6013fac8a6ea871453565faf0f8b51c62465cf71 (diff)
downloadopie-8699473dd4e21242b1c98192c2dd38655177762b.zip
opie-8699473dd4e21242b1c98192c2dd38655177762b.tar.gz
opie-8699473dd4e21242b1c98192c2dd38655177762b.tar.bz2
looks now nice on liquid - again
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/runningappbar.cpp6
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
@@ -40,6 +40,8 @@
40RunningAppBar::RunningAppBar(QWidget* parent) 40RunningAppBar::RunningAppBar(QWidget* parent)
41 : QFrame(parent), m_AppLnkSet(0L), m_SelectedAppIndex(-1) 41 : QFrame(parent), m_AppLnkSet(0L), m_SelectedAppIndex(-1)
42{ 42{
43 setBackgroundMode( PaletteBackground );
44
43 m_AppLnkSet = new AppLnkSet( QPEApplication::qpeDir() + "apps" ); 45 m_AppLnkSet = new AppLnkSet( QPEApplication::qpeDir() + "apps" );
44 46
45 connect(qwsServer, SIGNAL(newChannel(const QString&)), this, SLOT(newQcopChannel(const QString&))); 47 connect(qwsServer, SIGNAL(newChannel(const QString&)), this, SLOT(newQcopChannel(const QString&)));
@@ -168,7 +170,7 @@ void RunningAppBar::paintEvent( QPaintEvent * )
168 int y = (height() - AppLnk::smallIconSize()) / 2; 170 int y = (height() - AppLnk::smallIconSize()) / 2;
169 int i = 0; 171 int i = 0;
170 172
171 p.fillRect( 0, 0, width(), height(), colorGroup().background() ); 173 //p.fillRect( 0, 0, width(), height(), colorGroup().background() );
172 174
173 QListIterator<AppLnk> it(m_AppList); 175 QListIterator<AppLnk> it(m_AppList);
174 176
@@ -178,7 +180,7 @@ void RunningAppBar::paintEvent( QPaintEvent * )
178 if ( (int)i == m_SelectedAppIndex ) 180 if ( (int)i == m_SelectedAppIndex )
179 p.fillRect( x, y, spacing, curApp->pixmap().height()+1, colorGroup().highlight() ); 181 p.fillRect( x, y, spacing, curApp->pixmap().height()+1, colorGroup().highlight() );
180 else 182 else
181 p.eraseRect( x, y, spacing, curApp->pixmap().height()+1 ); 183 // p.eraseRect( x, y, spacing, curApp->pixmap().height()+1 );
182 p.drawPixmap( x, y, curApp->pixmap() ); 184 p.drawPixmap( x, y, curApp->pixmap() );
183 x += spacing; 185 x += spacing;
184 } 186 }