summaryrefslogtreecommitdiff
path: root/core/applets/vtapplet
Unidiff
Diffstat (limited to 'core/applets/vtapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vtapplet/opie-vtapplet.control2
-rw-r--r--core/applets/vtapplet/vt.cpp10
-rw-r--r--core/applets/vtapplet/vtapplet.pro2
3 files changed, 6 insertions, 8 deletions
diff --git a/core/applets/vtapplet/opie-vtapplet.control b/core/applets/vtapplet/opie-vtapplet.control
index a1662f1..ae504a9 100644
--- a/core/applets/vtapplet/opie-vtapplet.control
+++ b/core/applets/vtapplet/opie-vtapplet.control
@@ -6,3 +6,3 @@ Maintainer: Opie Team <opie@handhelds.org>
6Architecture: arm 6Architecture: arm
7Depends: task-opie-minimal 7Depends: task-opie-minimal, libopiecore2
8Description: Switch to another virtual terminal 8Description: Switch to another virtual terminal
diff --git a/core/applets/vtapplet/vt.cpp b/core/applets/vtapplet/vt.cpp
index ae89635..0d4e657 100644
--- a/core/applets/vtapplet/vt.cpp
+++ b/core/applets/vtapplet/vt.cpp
@@ -17,4 +17,6 @@
17#include <opie2/odebug.h> 17#include <opie2/odebug.h>
18#include <opie2/oresource.h>
19
18#include <qpe/applnk.h> 20#include <qpe/applnk.h>
19#include <qpe/resource.h> 21
20using namespace Opie::Core; 22using namespace Opie::Core;
@@ -70,7 +72,3 @@ QIconSet VTApplet::icon ( ) const
70{ 72{
71 QPixmap pix; 73 QPixmap pix = Opie::Core::OResource::loadPixmap( "terminal", Opie::Core::OResource::SmallIcon );
72 QImage img = Resource::loadImage ( "terminal" );
73
74 if ( !img. isNull ( ))
75 pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
76 return pix; 74 return pix;
diff --git a/core/applets/vtapplet/vtapplet.pro b/core/applets/vtapplet/vtapplet.pro
index 6c4873c..912af58 100644
--- a/core/applets/vtapplet/vtapplet.pro
+++ b/core/applets/vtapplet/vtapplet.pro
@@ -8,3 +8,3 @@ INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += $(OPIEDIR)/include 8DEPENDPATH += $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe -lopiecore2
10VERSION = 1.0.0 10VERSION = 1.0.0