Commit 123003f6 authored by Dan Pascu's avatar Dan Pascu

Renamed class attribute

parent e3659d49
...@@ -100,7 +100,7 @@ class Blink(QApplication): ...@@ -100,7 +100,7 @@ class Blink(QApplication):
def __init__(self): def __init__(self):
super(Blink, self).__init__(sys.argv) super(Blink, self).__init__(sys.argv)
self.setAttribute(Qt.AA_DontShowIconsInMenus, False) self.setAttribute(Qt.AA_DontShowIconsInMenus, False)
self.application = SIPApplication() self.sip_application = SIPApplication()
self.first_run = False self.first_run = False
self.setOrganizationDomain("ag-projects.com") self.setOrganizationDomain("ag-projects.com")
...@@ -136,8 +136,8 @@ class Blink(QApplication): ...@@ -136,8 +136,8 @@ class Blink(QApplication):
call_later(self._initialize_sipsimple) # initialize sipsimple after the qt event loop is started call_later(self._initialize_sipsimple) # initialize sipsimple after the qt event loop is started
self.exec_() self.exec_()
self.update_manager.shutdown() self.update_manager.shutdown()
self.application.stop() self.sip_application.stop()
self.application.thread.join() self.sip_application.thread.join()
log_manager = LogManager() log_manager = LogManager()
log_manager.stop() log_manager.stop()
...@@ -259,7 +259,7 @@ class Blink(QApplication): ...@@ -259,7 +259,7 @@ class Blink(QApplication):
if not os.path.exists(ApplicationData.get('config')): if not os.path.exists(ApplicationData.get('config')):
self.first_run = True self.first_run = True
notification_center = NotificationCenter() notification_center = NotificationCenter()
notification_center.add_observer(self, sender=self.application) notification_center.add_observer(self, sender=self.sip_application)
self.application.start(FileStorage(ApplicationData.directory)) self.sip_application.start(FileStorage(ApplicationData.directory))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment