summaryrefslogtreecommitdiffstats
path: root/examples/animation/sub-attaq/graphicsscene.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-27 17:04:55 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-27 17:05:49 (GMT)
commit8facefaef36ae313661bbdbcf317c374e35754cb (patch)
tree1f30aadea95bdd6c2c1b68c383ab4f05f5bba3e8 /examples/animation/sub-attaq/graphicsscene.cpp
parenta9308e78e9b8aea110316c18489dd222936e13e4 (diff)
downloadQt-8facefaef36ae313661bbdbcf317c374e35754cb.zip
Qt-8facefaef36ae313661bbdbcf317c374e35754cb.tar.gz
Qt-8facefaef36ae313661bbdbcf317c374e35754cb.tar.bz2
Fixes sub-attaq in shadow build.
Reviewed-by: Alexis
Diffstat (limited to 'examples/animation/sub-attaq/graphicsscene.cpp')
-rw-r--r--examples/animation/sub-attaq/graphicsscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation/sub-attaq/graphicsscene.cpp b/examples/animation/sub-attaq/graphicsscene.cpp
index f2d41bc..e773dae 100644
--- a/examples/animation/sub-attaq/graphicsscene.cpp
+++ b/examples/animation/sub-attaq/graphicsscene.cpp
@@ -120,7 +120,7 @@ GraphicsScene::GraphicsScene(int x, int y, int width, int height, Mode mode)
//parse the xml that contain all data of the game
QXmlStreamReader reader;
- QFile file(QDir::currentPath() + "/data.xml");
+ QFile file(":data.xml");
file.open(QIODevice::ReadOnly);
reader.setDevice(&file);
LevelDescription currentLevel;