-rw-r--r-- | noncore/net/opietooth/applet/bluezapplet.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp index 6351d4e..f7774f0 100644 --- a/noncore/net/opietooth/applet/bluezapplet.cpp +++ b/noncore/net/opietooth/applet/bluezapplet.cpp | |||
@@ -37,2 +37,3 @@ | |||
37 | #include <opie2/oprocess.h> | 37 | #include <opie2/oprocess.h> |
38 | #include <qpe/version.h> | ||
38 | #include <qpe/applnk.h> | 39 | #include <qpe/applnk.h> |
@@ -57,4 +58,2 @@ using namespace Opie::Core; | |||
57 | 58 | ||
58 | #define OPIE120 // undefine it fo the latest OPIE | ||
59 | |||
60 | namespace OpieTooth { | 59 | namespace OpieTooth { |
@@ -63,3 +62,3 @@ namespace OpieTooth { | |||
63 | setFixedWidth( AppLnk::smallIconSize() ); | 62 | setFixedWidth( AppLnk::smallIconSize() ); |
64 | #ifdef OPIE120 | 63 | #if OPIE_VERSION < 102010 |
65 | bluezOnPixmap = Resource::loadPixmap( "bluetoothapplet/bluezon" ); | 64 | bluezOnPixmap = Resource::loadPixmap( "bluetoothapplet/bluezon" ); |
@@ -322,3 +321,3 @@ namespace OpieTooth { | |||
322 | if (bluezactive) { | 321 | if (bluezactive) { |
323 | #ifdef OPIE120 | 322 | #if OPIE_VERSION < 102010 |
324 | p.drawPixmap( 0, -1, bluezOnPixmap ); | 323 | p.drawPixmap( 0, -1, bluezOnPixmap ); |
@@ -328,3 +327,3 @@ namespace OpieTooth { | |||
328 | } else { | 327 | } else { |
329 | #ifdef OPIE120 | 328 | #if OPIE_VERSION < 102010 |
330 | p.drawPixmap( 0, -1, bluezOffPixmap ); | 329 | p.drawPixmap( 0, -1, bluezOffPixmap ); |