author | zecke <zecke> | 2002-09-10 22:35:13 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-10 22:35:13 (UTC) |
commit | f27a003efcc655edd7100a188e5fff17b4d4c012 (patch) (unidiff) | |
tree | dfdf6f4ddfd0cf899756bc2ecb503ea52ecd9984 /library | |
parent | aa056d16a0bed859dbe23dc93a7220181b216634 (diff) | |
download | opie-f27a003efcc655edd7100a188e5fff17b4d4c012.zip opie-f27a003efcc655edd7100a188e5fff17b4d4c012.tar.gz opie-f27a003efcc655edd7100a188e5fff17b4d4c012.tar.bz2 |
Icon sizes
-rw-r--r-- | library/applnk.cpp | 4 |
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 | |||
@@ -460,15 +460,15 @@ const QPixmap& AppLnk::pixmap( int pos, int size ) const { | |||
460 | Resource::loadImage("UnknownDocument") | 460 | Resource::loadImage("UnknownDocument") |
461 | .smoothScale( size, size ) ); | 461 | .smoothScale( size, size ) ); |
462 | } else { | 462 | } else { |
463 | that->d->mPixmaps[0].convertFromImage( unscaledIcon.smoothScale( smallSize, smallSize ) ); | 463 | that->d->mPixmaps[0].convertFromImage( unscaledIcon.smoothScale( smallSize, smallSize ) ); |
464 | that->d->mPixmaps[1].convertFromImage( unscaledIcon.smoothScale( bigSize, bigSize ) ); | 464 | that->d->mPixmaps[1].convertFromImage( unscaledIcon.smoothScale( bigSize, bigSize ) ); |
465 | } | 465 | } |
466 | return that->d->mPixmaps[0]; | 466 | return that->d->mPixmaps[pos]; |
467 | } | 467 | } |
468 | return mPixmap; | 468 | return d->mPixmaps[pos]; |
469 | } | 469 | } |
470 | 470 | ||
471 | /*! | 471 | /*! |
472 | Returns a small pixmap associated with the application. | 472 | Returns a small pixmap associated with the application. |
473 | 473 | ||
474 | \sa bigPixmap() setIcon() | 474 | \sa bigPixmap() setIcon() |