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
def updateExecutableIcon(self):
currentplayerpath = self.executablepathCombobox.currentText()
currentplayerpath = unicode(self.executablepathCombobox.currentText())
iconpath = PlayerFactory().getPlayerIconByPath(currentplayerpath)
if iconpath != None and iconpath != "":
self.executableiconImage.load(self.resourcespath + iconpath)
@ -906,4 +906,4 @@ class ConfigDialog(QtGui.QDialog):
if constants.SHOW_TOOLTIPS:
self.processWidget(self, lambda w: self.loadTooltips(w))
self.processWidget(self, lambda w: self.loadValues(w))
self.processWidget(self, lambda w: self.connectChildren(w))
self.processWidget(self, lambda w: self.connectChildren(w))