|
|
@ -456,7 +456,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize )
|
|
|
|
// Now, rotate the image so that it's the right way up, and scale it to size
|
|
|
|
// Now, rotate the image so that it's the right way up, and scale it to size
|
|
|
|
TQImage im = pm.convertToImage();
|
|
|
|
TQImage im = pm.convertToImage();
|
|
|
|
im = im.xForm(transMatrix);
|
|
|
|
im = im.xForm(transMatrix);
|
|
|
|
im = im.smoothScale( 50, 50, TQ_ScaleMin );
|
|
|
|
im = im.smoothScale( 50, 50, TQImage::ScaleMin );
|
|
|
|
|
|
|
|
|
|
|
|
if (cache)
|
|
|
|
if (cache)
|
|
|
|
m_imageMap[item->type()] = im;
|
|
|
|
m_imageMap[item->type()] = im;
|
|
|
|