diff options
author | Luciano Wolf <luciano.wolf@openbossa.org> | 2011-03-25 13:00:09 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:15 -0300 |
commit | 7297460400873c28a183113ad66d4eec11452306 (patch) | |
tree | 48634d840308ff9abbe71dbde569deef79db1515 /tests/testcodeinjection.cpp | |
parent | 55b5e13e496ba035166af43ba133083d1f95bd6b (diff) |
Use QDir::currentPath() to avoid problems with armel-Meego target.
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/testcodeinjection.cpp')
-rw-r--r-- | tests/testcodeinjection.cpp | 2 |
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'> \ |