removed not needed parameter

This commit is contained in:
Andreas Preikschat 2011-03-02 18:56:06 +01:00
parent 1ec23f00ff
commit 6da5cdfb2e
2 changed files with 6 additions and 5 deletions

View File

@ -179,7 +179,7 @@ class OpenLP(QtGui.QApplication):
# make sure Qt really display the splash screen
self.processEvents()
# Decide how many screens we have and their size
screens = ScreenList(self, self.desktop())
screens = ScreenList(self.desktop())
# start the main app window
self.appClipboard = self.clipboard()
self.mainWindow = MainWindow(screens, app_version, self.appClipboard)

View File

@ -42,13 +42,14 @@ class ScreenList(object):
"""
log.info(u'Screen loaded')
def __init__(self, parent, desktop):
def __init__(self, desktop):
"""
Initialise the screen list.
``desktop``
A ``QDesktopWidget`` object.
"""
self.parent = parent
self.desktop = desktop
# The screen used for the rendermanager.
# (Why does the rendermanager needs his own?)
self.preview = None
self.current = None
self.override = None