[PC-BSD Commits] r572 - pcbsd/trunk/kcmPBIupdater
svn at pcbsd.org
svn at pcbsd.org
Tue Aug 7 13:11:48 PDT 2007
Author: kris
Date: 2007-08-07 13:11:48 -0700 (Tue, 07 Aug 2007)
New Revision: 572
Modified:
pcbsd/trunk/kcmPBIupdater/pbiupdater.ui.h
Log:
Updater PBI update program to use smoothScale on icons now.
Modified: pcbsd/trunk/kcmPBIupdater/pbiupdater.ui.h
===================================================================
--- pcbsd/trunk/kcmPBIupdater/pbiupdater.ui.h 2007-08-07 19:54:33 UTC (rev 571)
+++ pcbsd/trunk/kcmPBIupdater/pbiupdater.ui.h 2007-08-07 20:11:48 UTC (rev 572)
@@ -124,7 +124,7 @@
QImage *Icon = new QImage(IconPath);
QPixmap PixmapIcon;
- PixmapIcon.convertFromImage(Icon->scale(40,40));
+ PixmapIcon.convertFromImage(Icon->smoothScale(40,40));
listPBI->insertItem(PixmapIcon, ProgName[i] + " " + ProgVer[i]);
@@ -168,7 +168,7 @@
QImage *Icon = new QImage(IconPath);
QPixmap PixmapIcon;
- PixmapIcon.convertFromImage(Icon->scale(40,40));
+ PixmapIcon.convertFromImage(Icon->smoothScale(40,40));
listPBI->changeItem(PixmapIcon, ProgName[i] + " " + ProgVer[i] + tr(" - Checking for updates"), currentPBI);
@@ -210,7 +210,7 @@
QImage *Icon = new QImage(IconPath);
QPixmap PixmapIcon;
- PixmapIcon.convertFromImage(Icon->scale(40,40));
+ PixmapIcon.convertFromImage(Icon->smoothScale(40,40));
// The PBI is current
More information about the Commits
mailing list