Sat, 15 Feb 2014 18:21:59 +0100
Added a window flag to the VCS log browser dialogs to allow to minimize/maximize them on systems that don't add these buttons themself.
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Tue Feb 11 20:04:16 2014 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sat Feb 15 18:21:59 2014 +0100 @@ -55,6 +55,7 @@ """ super().__init__(parent) self.setupUi(self) + self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint) if mode == "log": self.setWindowTitle(self.tr("Mercurial Log"))
--- a/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py Tue Feb 11 20:04:16 2014 +0100 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py Sat Feb 15 18:21:59 2014 +0100 @@ -38,6 +38,7 @@ super().__init__(parent) self.setupUi(self) SvnDialogMixin.__init__(self) + self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint) self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
--- a/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py Tue Feb 11 20:04:16 2014 +0100 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py Sat Feb 15 18:21:59 2014 +0100 @@ -34,6 +34,7 @@ """ super().__init__(parent) self.setupUi(self) + self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint) self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)