--- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesHeaderDialog.py Sun Feb 23 15:24:28 2014 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesHeaderDialog.py Sun Feb 23 19:20:43 2014 +0100 @@ -16,8 +16,6 @@ from .Ui_HgQueuesHeaderDialog import Ui_HgQueuesHeaderDialog -import Preferences - class HgQueuesHeaderDialog(QDialog, Ui_HgQueuesHeaderDialog): """ @@ -83,8 +81,7 @@ if os.path.splitdrive(repodir)[1] == os.sep: return - args = [] - args.append('qheader') + args = self.vcs.initCommand("qheader") if self.__hgClient: self.inputGroup.setEnabled(False) @@ -163,8 +160,7 @@ """ if self.process is not None: s = str(self.process.readAllStandardOutput(), - Preferences.getSystem("IOEncoding"), - 'replace') + self.vcs.getEncoding(), 'replace') self.__showOutput(s) def __showOutput(self, out): @@ -184,8 +180,7 @@ """ if self.process is not None: s = str(self.process.readAllStandardError(), - Preferences.getSystem("IOEncoding"), - 'replace') + self.vcs.getEncoding(), 'replace') self.__showError(s) def __showError(self, out):