forked from openlp/openlp
removed not needed parameter
This commit is contained in:
parent
1ec23f00ff
commit
6da5cdfb2e
@ -179,7 +179,7 @@ class OpenLP(QtGui.QApplication):
|
|||||||
# make sure Qt really display the splash screen
|
# make sure Qt really display the splash screen
|
||||||
self.processEvents()
|
self.processEvents()
|
||||||
# Decide how many screens we have and their size
|
# Decide how many screens we have and their size
|
||||||
screens = ScreenList(self, self.desktop())
|
screens = ScreenList(self.desktop())
|
||||||
# start the main app window
|
# start the main app window
|
||||||
self.appClipboard = self.clipboard()
|
self.appClipboard = self.clipboard()
|
||||||
self.mainWindow = MainWindow(screens, app_version, self.appClipboard)
|
self.mainWindow = MainWindow(screens, app_version, self.appClipboard)
|
||||||
|
@ -42,13 +42,14 @@ class ScreenList(object):
|
|||||||
"""
|
"""
|
||||||
log.info(u'Screen loaded')
|
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
|
self.desktop = desktop
|
||||||
# The screen used for the rendermanager.
|
|
||||||
# (Why does the rendermanager needs his own?)
|
|
||||||
self.preview = None
|
self.preview = None
|
||||||
self.current = None
|
self.current = None
|
||||||
self.override = None
|
self.override = None
|
||||||
|
Loading…
Reference in New Issue
Block a user