summaryrefslogtreecommitdiff
path: root/libopie2/opieui
Unidiff
Diffstat (limited to 'libopie2/opieui') (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 03b9d51..9559210 100644
--- a/libopie2/opieui/oresource.cpp
+++ b/libopie2/opieui/oresource.cpp
@@ -24,35 +24,35 @@
24  -_. . .   )=.  = Library General Public License along with 24  -_. . .   )=.  = Library General Public License along with
25    --        :-=` this library; see the file COPYING.LIB. 25    --        :-=` this library; see the file COPYING.LIB.
26 If not, write to the Free Software Foundation, 26 If not, write to the Free Software Foundation,
27 Inc., 59 Temple Place - Suite 330, 27 Inc., 59 Temple Place - Suite 330,
28 Boston, MA 02111-1307, USA. 28 Boston, MA 02111-1307, USA.
29*/ 29*/
30 30
31#include <opie2/oapplication.h> 31#include <opie2/oapplication.h>
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->qpeDir(), (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
57 57
58 58