Not quite - I needed to cast it to unicode.

This commit is contained in:
Raoul Snyman 2009-10-24 13:14:26 +02:00
parent 47edd31b58
commit 803987d402
1 changed files with 2 additions and 2 deletions

View File

@ -529,8 +529,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
applicationVersion = self.generalConfig.get_config(u'Application version', u'1.9.0-595')
version = check_latest_version(self.generalConfig, applicationVersion)
if applicationVersion != version:
version_text = self.trUtf8(u'OpenLP version %s has been updated '
u'to version %s')
version_text = unicode(self.trUtf8(u'OpenLP version %s has been updated '
u'to version %s'))
QtGui.QMessageBox.question(None,
self.trUtf8(u'OpenLP Version Updated'),
version_text % (applicationVersion, version),