Change to Unicode string.

This commit is contained in:
Michael Gorven 2009-11-06 11:52:04 +02:00
parent a9a53d9c94
commit 4ee481ca6e

View File

@ -193,7 +193,7 @@ class AmendThemeForm(QtGui.QDialog, Ui_AmendThemeDialog):
def onImageToolButtonClicked(self):
filename = QtGui.QFileDialog.getOpenFileName(
self, self.trUtf8('Open file'))
self, self.trUtf8(u'Open file'))
if filename:
self.ImageLineEdit.setText(filename)
self.theme.background_filename = filename