Undo removal of unicode() in updateExecutableIcon

This commit is contained in:
Etoh 2015-06-24 00:30:06 +01:00
parent 6c56432fbd
commit 03f4394a0c

View File

@ -134,7 +134,7 @@ class ConfigDialog(QtGui.QDialog):
return foundpath return foundpath
def updateExecutableIcon(self): def updateExecutableIcon(self):
currentplayerpath = self.executablepathCombobox.currentText() currentplayerpath = unicode(self.executablepathCombobox.currentText())
iconpath = PlayerFactory().getPlayerIconByPath(currentplayerpath) iconpath = PlayerFactory().getPlayerIconByPath(currentplayerpath)
if iconpath != None and iconpath != "": if iconpath != None and iconpath != "":
self.executableiconImage.load(self.resourcespath + iconpath) self.executableiconImage.load(self.resourcespath + iconpath)