summaryrefslogtreecommitdiff
path: root/libopie2/opieui/oresource.cpp
Unidiff
Diffstat (limited to 'libopie2/opieui/oresource.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/oresource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opieui/oresource.cpp b/libopie2/opieui/oresource.cpp
index d97307f..03b9d51 100644
--- a/libopie2/opieui/oresource.cpp
+++ b/libopie2/opieui/oresource.cpp
@@ -32,25 +32,25 @@
32#include <opie2/odebug.h> 32#include <opie2/odebug.h>
33 33
34#include "oresource.h" 34#include "oresource.h"
35 35
36 36
37#ifdef QWS 37#ifdef QWS
38namespace Resource 38namespace Resource
39{ 39{
40 40
41QPixmap loadPixmap( const QString& pix ) 41QPixmap loadPixmap( const QString& pix )
42{ 42{
43 QString filename; 43 QString filename;
44 filename.sprintf( "%s/%s.png", (const char*) oApp->opieDir(), (const char*) pix ); 44 filename.sprintf( "%s/%s.png", (const char*) oApp->qpeDir(), (const char*) pix );
45 QPixmap pixmap( filename ); 45 QPixmap pixmap( filename );
46 if ( pixmap.isNull() ) 46 if ( pixmap.isNull() )
47 { 47 {
48 odebug << "libopie2 resource: can't find pixmap " << filename << oendl;; 48 odebug << "libopie2 resource: can't find pixmap " << filename << oendl;;
49 } 49 }
50 return pixmap; 50 return pixmap;
51}; 51};
52 52
53}; 53};
54 54
55#endif 55#endif
56 56