fixed settings tabs

This commit is contained in:
Andreas Preikschat 2013-03-27 10:20:54 +01:00
parent 8bf76a7baa
commit bf60aa148e

View File

@ -184,8 +184,9 @@ class SettingsTab(QtGui.QWidget):
"""
Adds the media controller to the class dynamically
"""
if not hasattr(self, u'_media_controller'):
self._media_controller = Registry().get(u'media_controller')
# if not hasattr(self, '_media_controller'):
# self._media_controller = Registry().get('media_controller')
# FIXME: python3
return self._media_controller
media_controller = property(_get_media_controller)