Skip to content

Commit

Permalink
Moved QtIfwControlScript.controllerConstructorInjection injection poi…
Browse files Browse the repository at this point in the history
…nt (was nested inside an auto pilot block).
  • Loading branch information
BuvinJ committed Jan 14, 2021
1 parent 5d79e78 commit d5b1d2b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions distbuilder/qt_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3814,16 +3814,17 @@ def hidePage( pageName ):
self.controllerConstructorBody += (
QtIfwControlScript.__CONTROLER_CONNECT_TMPLT %
(signalName, slotName) )

if self.controllerConstructorInjection:
self.controllerConstructorBody+=self.controllerConstructorInjection

# auto pilot
self.controllerConstructorBody += _QtIfwScript.ifCmdLineSwitch(
_QtIfwScript.AUTO_PILOT_CMD_ARG, isMultiLine=True )
for signalName, (slotName, _) in six.iteritems( self.__autoPilotEventSlots ):
self.controllerConstructorBody += (
QtIfwControlScript.__CONTROLER_CONNECT_TMPLT %
(signalName, slotName) )

if self.controllerConstructorInjection:
self.controllerConstructorBody+=self.controllerConstructorInjection

(signalName, slotName) )
self.controllerConstructorBody += (
TAB + 'var mode = ' + _QtIfwScript.cmdLineArg(
_QtIfwScript.MAINTAIN_MODE_CMD_ARG ) + END +
Expand Down

0 comments on commit d5b1d2b

Please sign in to comment.