From 03f4394a0ceca0fcdacfad1907eb06261326b85d Mon Sep 17 00:00:00 2001 From: Etoh Date: Wed, 24 Jun 2015 00:30:06 +0100 Subject: [PATCH] Undo removal of unicode() in updateExecutableIcon --- syncplay/ui/GuiConfiguration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py index 5ec1a7e..e059611 100644 --- a/syncplay/ui/GuiConfiguration.py +++ b/syncplay/ui/GuiConfiguration.py @@ -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)) \ No newline at end of file + self.processWidget(self, lambda w: self.connectChildren(w))