46 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
46 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
47 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
47 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
48 |
48 |
49 self.process = None |
49 self.process = None |
50 self.vcs = vcs |
50 self.vcs = vcs |
51 self.connect(self.vcs, SIGNAL("committed()"), self.__committed) |
51 self.vcs.committed.connect(self.__committed) |
52 |
52 |
53 self.statusList.headerItem().setText(self.__lastColumn, "") |
53 self.statusList.headerItem().setText(self.__lastColumn, "") |
54 self.statusList.header().setSortIndicator(self.__pathColumn, Qt.AscendingOrder) |
54 self.statusList.header().setSortIndicator(self.__pathColumn, Qt.AscendingOrder) |
55 if self.vcs.versionStr < '1.5.0': |
55 if self.vcs.versionStr < '1.5.0': |
56 self.statusList.header().hideSection(self.__changelistColumn) |
56 self.statusList.header().hideSection(self.__changelistColumn) |