288 """ |
288 """ |
289 Public slot to show the download manager dialog. |
289 Public slot to show the download manager dialog. |
290 """ |
290 """ |
291 self.__startUpdateTimer() |
291 self.__startUpdateTimer() |
292 |
292 |
293 super(DownloadManager, self).show() |
293 super().show() |
294 self.activateWindow() |
294 self.activateWindow() |
295 self.raise_() |
295 self.raise_() |
296 |
296 |
297 def __addItem(self, itm, append=False): |
297 def __addItem(self, itm, append=False): |
298 """ |
298 """ |
631 |
631 |
632 if Globals.isWindowsPlatform(): |
632 if Globals.isWindowsPlatform(): |
633 self.__taskbarButton().progress().show() |
633 self.__taskbarButton().progress().show() |
634 self.__taskbarButton().progress().setValue(progress) |
634 self.__taskbarButton().progress().setValue(progress) |
635 |
635 |
636 super(DownloadManager, self).timerEvent(evt) |
636 super().timerEvent(evt) |
637 |
637 |
638 def __startUpdateTimer(self): |
638 def __startUpdateTimer(self): |
639 """ |
639 """ |
640 Private slot to start the update timer. |
640 Private slot to start the update timer. |
641 """ |
641 """ |