summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Lenhardt <alexander.lenhardt@nokia.com>2011-12-15 15:06:51 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2011-12-15 15:08:12 +0100
commited58949110bc62fea573254b9b14a642a3c37b96 (patch)
tree20bf118c41739379b4dea39372efec403a14631c
parentab02e01224111725def138db1c2d5b4daabbbf3a (diff)
fixed compile errors
Change-Id: I6ed35d9933fa7b3bcf621267710c155ccc569706 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
-rw-r--r--installerbuilder/libinstaller/operationrunner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/operationrunner.cpp b/installerbuilder/libinstaller/operationrunner.cpp
index e4d6ec5d0..7fcf45bf0 100644
--- a/installerbuilder/libinstaller/operationrunner.cpp
+++ b/installerbuilder/libinstaller/operationrunner.cpp
@@ -110,9 +110,9 @@ int OperationRunner::runOperation(const QStringList &arguments)
QStringList argumentList;
if (isPerformType)
- argumentList = arguments.mid(testStringList.indexOf("--runoperation") + 1);
+ argumentList = arguments.mid(arguments.indexOf(QLatin1String("--runoperation")) + 1);
else
- argumentList = arguments.mid(testStringList.indexOf("--undooperation") + 1);
+ argumentList = arguments.mid(arguments.indexOf(QLatin1String("--undooperation")) + 1);
try {