summaryrefslogtreecommitdiff
path: root/library/applnk.cpp
Side-by-side diff
Diffstat (limited to 'library/applnk.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/applnk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/applnk.cpp b/library/applnk.cpp
index 41b3008..1f053f3 100644
--- a/library/applnk.cpp
+++ b/library/applnk.cpp
@@ -463,9 +463,9 @@ const QPixmap& AppLnk::pixmap( int pos, int size ) const {
that->d->mPixmaps[0].convertFromImage( unscaledIcon.smoothScale( smallSize, smallSize ) );
that->d->mPixmaps[1].convertFromImage( unscaledIcon.smoothScale( bigSize, bigSize ) );
}
- return that->d->mPixmaps[0];
+ return that->d->mPixmaps[pos];
}
- return mPixmap;
+ return d->mPixmaps[pos];
}
/*!