Store player list in PlayerList QSetting

This commit is contained in:
Etoh 2013-10-15 18:08:31 +01:00
parent f1109e6c32
commit d42b9773c3

View File

@ -76,7 +76,7 @@ class ConfigDialog(QtGui.QDialog):
self.QtGui.QDesktopServices.openUrl("http://syncplay.pl/guide/")
def _tryToFillPlayerPath(self, playerpath, playerpathlist):
settings = QSettings("Syncplay", "MediaBrowseDialog")
settings = QSettings("Syncplay", "PlayerList")
settings.beginGroup("PlayerList")
savedPlayers = settings.value("PlayerList", [])
playerpathlist = list(set([os.path.normcase(os.path.normpath(path)) for path in set(playerpathlist + savedPlayers)]))