Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py

changeset 3279
8df9706ef7f4
parent 3273
075758282fdb
child 3287
c3d784c057b3
--- a/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Mon Feb 17 18:23:44 2014 +0100
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Mon Feb 17 19:05:07 2014 +0100
@@ -12,7 +12,7 @@
 import pysvn
 
 from PyQt4.QtCore import QMutexLocker, QDate, QRegExp, Qt, pyqtSlot
-from PyQt4.QtGui import QCursor, QHeaderView, QDialog, QApplication, \
+from PyQt4.QtGui import QCursor, QHeaderView, QWidget, QApplication, \
     QDialogButtonBox, QTreeWidgetItem
 
 from E5Gui import E5MessageBox
@@ -23,7 +23,7 @@
 from .Ui_SvnLogBrowserDialog import Ui_SvnLogBrowserDialog
 
 
-class SvnLogBrowserDialog(QDialog, SvnDialogMixin, Ui_SvnLogBrowserDialog):
+class SvnLogBrowserDialog(QWidget, SvnDialogMixin, Ui_SvnLogBrowserDialog):
     """
     Class implementing a dialog to browse the log history.
     """
@@ -38,7 +38,6 @@
         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)

eric ide

mercurial