Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable qqueue: pass proper arguments to cmdui.Runner()

Changeset f34ee2516654

Parent f382e9ac2ed1

by Johan Samyn

Changes to 2 files · Browse files at f34ee2516654 Showing diff from parent f382e9ac2ed1 Diff from another changeset...

 
510
511
512
513
 
514
515
516
 
510
511
512
 
513
514
515
516
@@ -510,7 +510,7 @@
    @pyqtSlot()   def launchQQueueTool(self): - dlg = qqueue.QQueueDialog(self.repo, self) + dlg = qqueue.QQueueDialog(self.repo, True, self)   dlg.finished.connect(dlg.deleteLater)   dlg.output.connect(self.output)   dlg.makeLogVisible.connect(self.makeLogVisible)
 
27
28
29
30
 
31
32
33
 
111
112
113
114
 
115
116
117
 
27
28
29
 
30
31
32
33
 
111
112
113
 
114
115
116
117
@@ -27,7 +27,7 @@
  output = pyqtSignal(QString, QString)   makeLogVisible = pyqtSignal(bool)   - def __init__(self, repo, parent=None): + def __init__(self, repo, embedded=False, parent=None):   super(QQueueDialog, self).__init__(parent)     self.setWindowIcon(qtlib.geticon('thg-mq')) @@ -111,7 +111,7 @@
  botsep = qtlib.LabeledSeparator('')   layout.addWidget(botsep)   - cmd = cmdui.Runner() + cmd = cmdui.Runner(_('QQueue'), not embedded, self)   cmd.output.connect(self.output)   cmd.makeLogVisible.connect(self.makeLogVisible)   cmd.commandFinished.connect(self.qqcmdFinished)