[qt4] fix typo

authorAlain Leufroy <alain@leufroy.fr>
changeseted0e1c4f2f59
branchstable
phasedraft
hiddenyes
parent revision#c006a7b9b6af [qt4] fix non displayed working directory on refreshing (closes #137714)
child revision<not specified>
files modified by this revision
hgviewlib/qt4/helpviewer.py
# HG changeset patch
# User Alain Leufroy <alain@leufroy.fr>
# Date 1368149706 -7200
# Fri May 10 03:35:06 2013 +0200
# Branch stable
# Node ID ed0e1c4f2f59a2be3fb749db0335998e4c22b4cb
# Parent c006a7b9b6afefa22a8b3a5f2b87cb7e56618b5f
[qt4] fix typo

diff --git a/hgviewlib/qt4/helpviewer.py b/hgviewlib/qt4/helpviewer.py
@@ -72,11 +72,11 @@
1 
2      def anchor_clicked(self,qurl):
3          """Callback called when a link is clicked in the text browser"""
4          topic = str(qurl.toString())
5          if topic.startswith('hg://'):
6 -            self.set_text(get_hg_helper(topic[5:]))
7 +            self.set_text(self.get_hg_helper(topic[5:]))
8          else:
9              QtGui.QDesktopServices.openUrl(qurl)
10 
11      @staticmethod
12      def get_hg_helper(topic):