Undo removal of unicode() in updateExecutableIcon
This commit is contained in:
parent
6c56432fbd
commit
03f4394a0c
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user