summaryrefslogtreecommitdiffstats
path: root/tools/operationrunner/fakeinstaller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/operationrunner/fakeinstaller.cpp')
-rw-r--r--tools/operationrunner/fakeinstaller.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/operationrunner/fakeinstaller.cpp b/tools/operationrunner/fakeinstaller.cpp
deleted file mode 100644
index e80dbb2a5..000000000
--- a/tools/operationrunner/fakeinstaller.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "fakeinstaller.h"
-
-#include <QFileInfo>
-
-void FakeInstaller::setTargetDir(const QString &targetDir)
-{
- m_targetDir = QFileInfo(targetDir).absoluteFilePath();
-}
-
-QString FakeInstaller::value(const QString &key, const QString &/*defaultValue*/) const
-{
- if(key == QLatin1String("TargetDir")) {
- return m_targetDir;
- } else {
- qFatal("This is only a fake installer and it can only handle \"TargetDir\" value.");
- }
- return QString();
-}