reverted not needed changes

This commit is contained in:
Andreas Preikschat 2013-07-07 00:27:49 +02:00
parent a3b99a6a5d
commit 3d803f4423
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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)