aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2011-03-28 10:38:10 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2011-04-04 15:19:33 -0300
commit32a1fa45638cde71d29a1f74423cfcbdc56389ad (patch)
tree487786c2c893288dc7221540039953649e0ec6cc
parenteeebd2237ebb2053ee6104d9e2f94f2fdb282950 (diff)
Use QDir::currentPath() to avoid problems with armel-Meego target.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente <hugo.lima@openbossa.org>
-rw-r--r--tests/test_generator/dummygentest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_generator/dummygentest.cpp b/tests/test_generator/dummygentest.cpp
index 83f3c9263..a71abfccd 100644
--- a/tests/test_generator/dummygentest.cpp
+++ b/tests/test_generator/dummygentest.cpp
@@ -35,7 +35,7 @@ void DummyGenTest::initTestCase()
int argc = 0;
char* argv[] = {NULL};
QCoreApplication app(argc, argv);
- workDir = QCoreApplication::applicationDirPath();
+ workDir = QDir::currentPath();
headerFilePath = workDir + "/test_global.h";
typesystemFilePath = workDir + "/test_typesystem.xml";