--- a/Preferences/ShortcutDialog.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Preferences/ShortcutDialog.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,8 @@ Module implementing a dialog for the configuration of a keyboard shortcut. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + from PyQt4.QtCore import pyqtSignal, QEvent, Qt from PyQt4.QtGui import QKeySequence, QDialog, QDialogButtonBox @@ -30,7 +32,7 @@ @param name The name of this dialog. (string) @param modal Flag indicating a modal dialog. (boolean) """ - super().__init__(parent) + super(ShortcutDialog, self).__init__(parent) if name: self.setObjectName(name) self.setModal(modal)