Change to Unicode string.

This commit is contained in:
Michael Gorven 2009-11-06 11:52:04 +02:00
parent ab42730f1e
commit a89cec05da

View File

@ -200,7 +200,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 != u'':
self.ImageLineEdit.setText(filename)
self.theme.background_filename = filename