diff -r 139f182b72f6 -r 8b507a9a2d40 Helpviewer/UrlBar/UrlBar.py --- a/Helpviewer/UrlBar/UrlBar.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Helpviewer/UrlBar/UrlBar.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,12 @@ Module implementing the URL bar widget. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ +try: + str = unicode +except (NameError): + pass + from PyQt4.QtCore import pyqtSlot, Qt, QPointF, QUrl, QDateTime, qVersion from PyQt4.QtGui import QColor, QPalette, QLinearGradient, QIcon, QDialog, QApplication try: @@ -340,7 +346,7 @@ elif evt.button() == Qt.XButton2: self.__mw.currentBrowser().pageAction(QWebPage.Forward).trigger() else: - super().mousePressEvent(evt) + super(UrlBar, self).mousePressEvent(evt) def mouseDoubleClickEvent(self, evt): """