summaryrefslogtreecommitdiff
path: root/core/applets/rotateapplet
authormickeyl <mickeyl>2005-04-01 23:30:07 (UTC)
committer mickeyl <mickeyl>2005-04-01 23:30:07 (UTC)
commit8a1c307f9dfc26a31d42f29f29a5b1c048b99102 (patch) (side-by-side diff)
tree8e8925baf6a77e01379264afb540f33a3c07bec7 /core/applets/rotateapplet
parent88cc0cc17864de6e36bdeedaae6df0a5cc738c5a (diff)
downloadopie-8a1c307f9dfc26a31d42f29f29a5b1c048b99102.zip
opie-8a1c307f9dfc26a31d42f29f29a5b1c048b99102.tar.gz
opie-8a1c307f9dfc26a31d42f29f29a5b1c048b99102.tar.bz2
scale O-Menu-Applet pixmaps according to AppLnk::smallIconSize
Diffstat (limited to 'core/applets/rotateapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/rotateapplet/rotate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/applets/rotateapplet/rotate.cpp b/core/applets/rotateapplet/rotate.cpp
index f23423d..d13c2c0 100644
--- a/core/applets/rotateapplet/rotate.cpp
+++ b/core/applets/rotateapplet/rotate.cpp
@@ -33,14 +33,14 @@
/* OPIE */
#include <opie2/odebug.h>
#include <opie2/odevice.h>
+#include <qpe/applnk.h>
#include <qpe/config.h>
#include <qpe/power.h>
#include <qpe/qcopenvelope_qws.h>
#include <qpe/resource.h>
using namespace Opie::Core;
-/* QT */
-
+/* STD */
#include <time.h>
RotateApplet::RotateApplet()
@@ -142,7 +142,7 @@ QIconSet RotateApplet::icon() const
QPixmap pix;
QImage img = Resource::loadImage( "Rotation" );
if ( !img.isNull() )
- pix.convertFromImage( img.smoothScale( 14, 14 ) );
+ pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
return pix;
}