4275:3bed5f74d328 | 4278:ccd1e13cb9bd |
---|---|
13 except NameError: | 13 except NameError: |
14 pass | 14 pass |
15 | 15 |
16 import os | 16 import os |
17 | 17 |
18 from PyQt5.QtCore import QProcess, QCoreApplication | 18 from PyQt5.QtCore import Qt, QProcess, QCoreApplication |
19 from PyQt5.QtWidgets import QDialog, QTreeWidgetItem | 19 from PyQt5.QtWidgets import QDialog, QTreeWidgetItem |
20 | 20 |
21 from .Ui_HgQueuesListAllGuardsDialog import Ui_HgQueuesListAllGuardsDialog | 21 from .Ui_HgQueuesListAllGuardsDialog import Ui_HgQueuesListAllGuardsDialog |
22 | 22 |
23 import UI.PixmapCache | 23 import UI.PixmapCache |
34 @param vcs reference to the VCS object (Hg) | 34 @param vcs reference to the VCS object (Hg) |
35 @param parent reference to the parent widget (QWidget) | 35 @param parent reference to the parent widget (QWidget) |
36 """ | 36 """ |
37 super(HgQueuesListAllGuardsDialog, self).__init__(parent) | 37 super(HgQueuesListAllGuardsDialog, self).__init__(parent) |
38 self.setupUi(self) | 38 self.setupUi(self) |
39 self.setWindowFlags(Qt.Window) | |
39 | 40 |
40 self.vcs = vcs | 41 self.vcs = vcs |
41 self.__hgClient = vcs.getClient() | 42 self.__hgClient = vcs.getClient() |
42 | 43 |
43 self.show() | 44 self.show() |