summaryrefslogtreecommitdiff
path: root/noncore/games/zsame/StoneWidget.cpp
Unidiff
Diffstat (limited to 'noncore/games/zsame/StoneWidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/zsame/StoneWidget.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/noncore/games/zsame/StoneWidget.cpp b/noncore/games/zsame/StoneWidget.cpp
index 5dd0252..f370714 100644
--- a/noncore/games/zsame/StoneWidget.cpp
+++ b/noncore/games/zsame/StoneWidget.cpp
@@ -20,8 +20,5 @@
20 20
21#include <stdio.h> 21#include <opie2/oresource.h>
22#include <stdlib.h>
23 22
24 23#include <qbitmap.h>
25
26#include <qpe/resource.h>
27 24
@@ -42,6 +39,3 @@ StoneWidget::StoneWidget( QWidget *parent, int x, int y )
42{ 39{
43// setBackgroundPixmap(QPixmap(locate("wallpaper", "Time-For-Lunch-2.jpg"))); 40 QPixmap stonemap = Opie::Core::OResource::loadPixmap( "zsame/stones" );
44// QPixmap stonemap(locate("appdata", "stones.png"));
45
46 QPixmap stonemap = Resource::loadPixmap("zsame/stones" );
47 assert(!stonemap.isNull()); 41 assert(!stonemap.isNull());