664 @param project reference to the project object |
664 @param project reference to the project object |
665 @return reference to the monitor thread (QThread) |
665 @return reference to the monitor thread (QThread) |
666 """ |
666 """ |
667 if project.pudata["VCSSTATUSMONITORINTERVAL"]: |
667 if project.pudata["VCSSTATUSMONITORINTERVAL"]: |
668 vcsStatusMonitorInterval = project.pudata[ |
668 vcsStatusMonitorInterval = project.pudata[ |
669 "VCSSTATUSMONITORINTERVAL"][0] |
669 "VCSSTATUSMONITORINTERVAL"] |
670 else: |
670 else: |
671 vcsStatusMonitorInterval = Preferences.getVCS( |
671 vcsStatusMonitorInterval = Preferences.getVCS( |
672 "StatusMonitorInterval") |
672 "StatusMonitorInterval") |
673 if vcsStatusMonitorInterval > 0: |
673 if vcsStatusMonitorInterval > 0: |
674 self.statusMonitorThread = self._createStatusMonitorThread( |
674 self.statusMonitorThread = self._createStatusMonitorThread( |