Merge pull request #27 from solarnz/show_more_setting

Convert the 'ShowMoreSettings' config value to a string before reading it.
This commit is contained in:
Etoh 2013-12-01 01:55:26 -08:00
commit ee3ddcbdbb

View File

@ -150,7 +150,7 @@ class ConfigDialog(QtGui.QDialog):
def getMoreState(self):
settings = QSettings("Syncplay", "MoreSettings")
settings.beginGroup("MoreSettings")
morestate = unicode.lower(settings.value("ShowMoreSettings", "false"))
morestate = unicode.lower(unicode(settings.value("ShowMoreSettings", "false")))
settings.endGroup()
if morestate == "true":
return(True)