mirror of
https://gitlab.com/openlp/openlp.git
synced 2024-11-01 00:57:05 +00:00
reverted not needed changes
This commit is contained in:
parent
a3b99a6a5d
commit
3d803f4423
@ -185,8 +185,8 @@ class SettingsTab(QtGui.QWidget):
|
||||
"""
|
||||
Adds the media controller to the class dynamically
|
||||
"""
|
||||
if not hasattr(self, '_media_controller'):
|
||||
self._media_controller = Registry().get('media_controller')
|
||||
if not hasattr(self, u'_media_controller'):
|
||||
self._media_controller = Registry().get(u'media_controller')
|
||||
return self._media_controller
|
||||
|
||||
media_controller = property(_get_media_controller)
|
||||
|
@ -42,7 +42,6 @@ class ServiceItemEditForm(QtGui.QDialog, Ui_ServiceItemEditDialog):
|
||||
def __init__(self):
|
||||
"""
|
||||
Constructor
|
||||
|
||||
"""
|
||||
super(ServiceItemEditForm, self).__init__(Registry().get(u'main_window'))
|
||||
self.setupUi(self)
|
||||
|
Loading…
Reference in New Issue
Block a user