summaryrefslogtreecommitdiff
path: root/deskutils/ksmoothdock/files/patch-src__task.cpp
blob: beb6c4824fe0a4b3bf66e4f9a95c162b9797b18e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/task.cpp.orig	Tue Nov  7 03:17:19 2006
+++ src/task.cpp	Thu Mar 15 17:24:14 2007
@@ -46,11 +46,11 @@
 void Task::draw(QPixmap& buffer, int x, int y, int size) {
     if (size >= m_minSize && size <= m_maxSize) {
         if (m_demandsAttention && (m_timerCount == 1)) {
-            KPixmap pix(m_icons.at(size - m_minSize));
+            KPixmap pix(m_icons[size - m_minSize]);
             KPixmapEffect::fade(pix, 0.5, QColor("#ffffff"));
             bitBlt(&buffer, x, y, &pix);            
         } else {
-            bitBlt(&buffer, x, y, &m_icons.at(size - m_minSize));
+            bitBlt(&buffer, x, y, &m_icons[size - m_minSize]);
         }
     }
 }