If I'm going to make changes, I should really start from a clean slate...

This commit is contained in:
Jonathan Corwin 2011-03-28 21:53:26 +01:00
parent 86ec612af0
commit ad25d42fb5
2 changed files with 7 additions and 9 deletions

View File

@ -78,13 +78,13 @@ class OpenLP(QtGui.QApplication):
class in order to provide the core of the application.
"""
#def exec_(self):
#"""
#Override exec method to allow the shared memory to be released on exit
#"""
#return QtGui.QApplication.exec_()
#self.sharedMemory.detach()
#return i
def exec_(self):
"""
Override exec method to allow the shared memory to be released on exit
"""
return QtGui.QApplication.exec_()
self.sharedMemory.detach()
return i
def run(self):
"""

View File

@ -476,8 +476,6 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
"""
QtGui.QMainWindow.__init__(self)
self.screens = screens
#self.application = application
self.clipboard = clipboard
self.arguments = arguments
# Set up settings sections for the main application