summaryrefslogtreecommitdiffstats
path: root/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp')
-rw-r--r--tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp b/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
index 499c3670b..d765c258e 100644
--- a/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
+++ b/tests/auto/qhelpenginecore/tst_qhelpenginecore.cpp
@@ -98,6 +98,8 @@ void tst_QHelpEngineCore::init()
// defined in profile
m_path = QLatin1String(SRCDIR);
+ m_path = QFileInfo(m_path).absoluteFilePath();
+
m_colFile = m_path + QLatin1String("/data/col.qhc");
if (QFile::exists(m_colFile))
QDir::current().remove(m_colFile);