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.
(grafted from 075758282fdbd9e6f804afdafe0dff105325f1fc)
--- 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 @@ -54,6 +54,7 @@ """ super().__init__(parent) self.setupUi(self) + self.setWindowFlags(self.windowFlags() | Qt.WindowMinMaxButtonsHint) if mode == "log": self.setWindowTitle(self.trUtf8("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)