author | drw <drw> | 2005-04-24 21:48:43 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-24 21:48:43 (UTC) |
commit | 40a0b1f81d5f53fede7831707d89a840d6691bd9 (patch) (unidiff) | |
tree | 9841e4cc54ef7e2347482a5219b3986940736c64 /core/applets/logoutapplet/logout.cpp | |
parent | 2391cfd9c79b87b3b00a4bb4a1d76981debb4486 (diff) | |
download | opie-40a0b1f81d5f53fede7831707d89a840d6691bd9.zip opie-40a0b1f81d5f53fede7831707d89a840d6691bd9.tar.gz opie-40a0b1f81d5f53fede7831707d89a840d6691bd9.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'core/applets/logoutapplet/logout.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/logoutapplet/logout.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/core/applets/logoutapplet/logout.cpp b/core/applets/logoutapplet/logout.cpp index 0f36f16..dc0c67c 100644 --- a/core/applets/logoutapplet/logout.cpp +++ b/core/applets/logoutapplet/logout.cpp | |||
@@ -2,4 +2,5 @@ | |||
2 | 2 | ||
3 | #include <opie2/oresource.h> | ||
4 | |||
3 | #include <qpe/applnk.h> | 5 | #include <qpe/applnk.h> |
4 | #include <qpe/resource.h> | ||
5 | #include <qpe/qcopenvelope_qws.h> | 6 | #include <qpe/qcopenvelope_qws.h> |
@@ -47,7 +48,3 @@ QIconSet LogoutApplet::icon ( ) const | |||
47 | { | 48 | { |
48 | QPixmap pix; | 49 | QPixmap pix = Opie::Core::OResource::loadPixmap("logout", Opie::Core::OResource::SmallIcon ); |
49 | QImage img = Resource::loadImage ( "logout" ); | ||
50 | |||
51 | if ( !img. isNull ( )) | ||
52 | pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | ||
53 | return pix; | 50 | return pix; |