35 @param vcs reference to the vcs object |
35 @param vcs reference to the vcs object |
36 @param parent parent widget (QWidget) |
36 @param parent parent widget (QWidget) |
37 """ |
37 """ |
38 super(HgBookmarksListDialog, self).__init__(parent) |
38 super(HgBookmarksListDialog, self).__init__(parent) |
39 self.setupUi(self) |
39 self.setupUi(self) |
|
40 self.setWindowFlags(Qt.Window) |
40 |
41 |
41 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
42 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
42 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
43 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
43 |
44 |
44 self.process = QProcess() |
45 self.process = QProcess() |