1. Yuya Nishihara
  2. thg-qt-mq

Source

thg-qt-mq / cmdui-progress-uni.diff

# HG changeset patch
# Parent 52bb1f8fbed710cea02e617b297fc5229b636a94
cmdui: fix encoding of topic shown on ProgressMonitor

diff --git a/tortoisehg/hgqt/cmdui.py b/tortoisehg/hgqt/cmdui.py
--- a/tortoisehg/hgqt/cmdui.py
+++ b/tortoisehg/hgqt/cmdui.py
@@ -103,7 +103,7 @@ class ThgStatusBar(QStatusBar):
                 del self.topics[key]
             return
         if key not in self.topics:
-            pm = ProgressMonitor(topic, self)
+            pm = ProgressMonitor(hglib.tounicode(topic), self)
             pm.setMaximumHeight(self.lbl.sizeHint().height())
             self.addWidget(pm)
             self.topics[key] = pm