Changeset 3742ba3390ec…
Parent 61ff6bd4fe8e…
by
Changes to 3 files · Browse files at 3742ba3390ec Showing diff from parent 61ff6bd4fe8e Diff from another changeset...
@@ -23,8 +23,8 @@ class CloneDialog(QDialog):
def __init__(self, args=None, opts=None):
- super(CloneDialog, self).__init__(None, Qt.WindowTitleHint or
- Qt.WindowSystemMenuHint)
+ super(CloneDialog, self).__init__()
+ self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint)
self.ui = ui.ui()
src = hglib.tounicode(os.getcwd())
|
@@ -255,8 +255,8 @@ commandCanceling = pyqtSignal()
def __init__(self, cmdline, parent=None):
- super(Dialog, self).__init__(parent, Qt.WindowTitleHint or
- Qt.WindowSystemMenuHint)
+ super(Dialog, self).__init__(parent)
+ self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint)
self.core = Core()
self.core.commandFinished.connect(self.command_finished)
|
@@ -24,8 +24,8 @@ )
def __init__(self, rev=None, repo=None, parent=None, opts=None):
- super(UpdateDialog, self).__init__(parent, Qt.WindowTitleHint or
- Qt.WindowSystemMenuHint)
+ super(UpdateDialog, self).__init__(parent)
+ self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint)
self._finished = False
|
Loading...