aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testmodifydocumentation.cpp
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2011-03-25 13:00:09 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:15 -0300
commit7297460400873c28a183113ad66d4eec11452306 (patch)
tree48634d840308ff9abbe71dbde569deef79db1515 /tests/testmodifydocumentation.cpp
parent55b5e13e496ba035166af43ba133083d1f95bd6b (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/testmodifydocumentation.cpp')
-rw-r--r--tests/testmodifydocumentation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testmodifydocumentation.cpp b/tests/testmodifydocumentation.cpp
index 49de2797c..7cab9daf2 100644
--- a/tests/testmodifydocumentation.cpp
+++ b/tests/testmodifydocumentation.cpp
@@ -50,7 +50,7 @@ void TestModifyDocumentation::testModifyDocumentation()
QCOMPARE(docMods[0].code().trimmed(), QString("<para>Some changed contents here</para>"));
QCOMPARE(docMods[0].signature(), QString(""));
QtDocParser docParser;
- docParser.setDocumentationDataDirectory(QCoreApplication::applicationDirPath());
+ docParser.setDocumentationDataDirectory(QDir::currentPath());
docParser.fillDocumentation(classA);
QVERIFY(!classA->documentation().value().trimmed().isEmpty());