[qt4] fix typo

authorAlain Leufroy <alain@leufroy.fr>
changeset87c0afedc9ba
branchstable
phasepublic
hiddenno
parent revision#ff735a2a686c [qt4] fix non displayed working directory on refreshing (closes #137714)
child revision#7cf5859668a2 [tui] fix source area stroke
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 87c0afedc9bac4276d85f632095f46d35e3e10bc
# Parent ff735a2a686c75d2d232ff5fc01128bd429a1950
[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):