summaryrefslogtreecommitdiff
path: root/tests/system/shared/hook_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/hook_utils.py')
-rw-r--r--tests/system/shared/hook_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/shared/hook_utils.py b/tests/system/shared/hook_utils.py
index bcc07ab4be..540c0702dc 100644
--- a/tests/system/shared/hook_utils.py
+++ b/tests/system/shared/hook_utils.py
@@ -90,9 +90,9 @@ def batchEditRunEnvironment(kitCount, currentTarget, modifications, alreadyOnRun
clickButton(waitForObject("{text='OK' type='QPushButton' unnamed='1' visible='1' "
"window=':Edit Environment_ProjectExplorer::EnvironmentItemsDialog'}"))
-def modifyRunSettingsForHookIntoQtQuickUI(kitCount, workingDir, projectName, port, quickVersion="1.1"):
+def modifyRunSettingsForHookIntoQtQuickUI(kitCount, kit, workingDir, projectName, port, quickVersion="1.1"):
switchViewTo(ViewConstants.PROJECTS)
- switchToBuildOrRunSettingsFor(kitCount, 0, ProjectSettings.RUN, True)
+ switchToBuildOrRunSettingsFor(kitCount, kit, ProjectSettings.RUN, True)
qtVersion, mkspec, qtLibPath, qmake = getQtInformationForQmlProject()
if None in (qtVersion, mkspec, qtLibPath, qmake):