summaryrefslogtreecommitdiff
path: root/examples/animation/sub-attaq/graphicsscene.cpp
diff options
context:
space:
mode:
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 f2d41bcbd7..e773dae9b1 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;