summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-05-20 16:30:36 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-05-20 16:30:36 +0200
commita9c63f5aad676840de6e45fe213c12e2aab427f6 (patch)
treefc358d2cfb34e53c371d331fead90fc44d58823a /tools
parent665f90048597691da22d8d23316b7a5a25717b9b (diff)
now operation runner can work with relative pathes
Diffstat (limited to 'tools')
-rw-r--r--tools/operationrunner/fakeinstaller.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/operationrunner/fakeinstaller.cpp b/tools/operationrunner/fakeinstaller.cpp
index e58aa1258..e80dbb2a5 100644
--- a/tools/operationrunner/fakeinstaller.cpp
+++ b/tools/operationrunner/fakeinstaller.cpp
@@ -1,8 +1,10 @@
#include "fakeinstaller.h"
+#include <QFileInfo>
+
void FakeInstaller::setTargetDir(const QString &targetDir)
{
- m_targetDir = targetDir;
+ m_targetDir = QFileInfo(targetDir).absoluteFilePath();
}
QString FakeInstaller::value(const QString &key, const QString &/*defaultValue*/) const