aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testcodeinjection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcodeinjection.cpp')
-rw-r--r--tests/testcodeinjection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testcodeinjection.cpp b/tests/testcodeinjection.cpp
index abc33856b..ab1aa8033 100644
--- a/tests/testcodeinjection.cpp
+++ b/tests/testcodeinjection.cpp
@@ -33,7 +33,7 @@ void TestCodeInjections::testReadFileUtf8()
int argc = 0;
char *argv[] = {NULL};
QCoreApplication app(argc, argv);
- QString filePath = QCoreApplication::applicationDirPath();
+ QString filePath = QDir::currentPath();
QString xmlCode = "\
<typesystem package=\"Foo\"> \
<value-type name='A'> \