-rw-r--r-- | library/applnk.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/applnk.cpp b/library/applnk.cpp index 80f2c62..c82d3b9 100644 --- a/library/applnk.cpp +++ b/library/applnk.cpp @@ -470,6 +470,7 @@ const QPixmap& AppLnk::pixmap( int pos, int size ) const { .smoothScale( size, size ) ); return that->d->mPixmaps[pos]; } + QImage unscaledIcon = Resource::loadImage( that->mIconFile ); if ( unscaledIcon.isNull() ) { // qDebug( "Cannot find icon: %s", that->mIconFile.latin1() ); @@ -482,6 +483,7 @@ const QPixmap& AppLnk::pixmap( int pos, int size ) const { } return that->d->mPixmaps[pos]; } + return d->mPixmaps[pos]; } |