openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #18947
[Merge] lp:~googol/openlp/central-settings-place into lp:openlp
Andreas Preikschat has proposed merging lp:~googol/openlp/central-settings-place into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #1096559 in OpenLP: "Central place for default settings"
https://bugs.launchpad.net/openlp/+bug/1096559
For more details, see:
https://code.launchpad.net/~googol/openlp/central-settings-place/+merge/144588
- fixed a traceback
--
https://code.launchpad.net/~googol/openlp/central-settings-place/+merge/144588
Your team OpenLP Core is requested to review the proposed merge of lp:~googol/openlp/central-settings-place into lp:openlp.
=== modified file 'openlp/core/ui/media/__init__.py'
--- openlp/core/ui/media/__init__.py 2013-01-10 23:07:48 +0000
+++ openlp/core/ui/media/__init__.py 2013-01-23 21:20:35 +0000
@@ -102,8 +102,7 @@
"""
log.debug(u'set_media_players')
players = u','.join(players_list)
- if Settings().value(u'media/override player', QtCore.Qt.Unchecked) == QtCore.Qt.Checked and \
- overridden_player != u'auto':
+ if Settings().value(u'media/override player') == QtCore.Qt.Checked and overridden_player != u'auto':
players = players.replace(overridden_player, u'[%s]' % overridden_player)
Settings().setValue(u'media/players', players)
Follow ups