forked from openlp/openlp
- fixed bug 863846 (splash screen always on top)
bzr-revno: 1773 Fixes: https://launchpad.net/bugs/863846
This commit is contained in:
commit
057084e96a
@ -36,8 +36,7 @@ class SplashScreen(QtGui.QSplashScreen):
|
|||||||
QtCore.SIGNAL(u'close_splash'), self.close)
|
QtCore.SIGNAL(u'close_splash'), self.close)
|
||||||
|
|
||||||
def setupUi(self):
|
def setupUi(self):
|
||||||
self.setObjectName(u'splash_screen')
|
self.setObjectName(u'splashScreen')
|
||||||
self.setWindowFlags(self.windowFlags() | QtCore.Qt.WindowStaysOnTopHint)
|
|
||||||
self.setContextMenuPolicy(QtCore.Qt.PreventContextMenu)
|
self.setContextMenuPolicy(QtCore.Qt.PreventContextMenu)
|
||||||
splash_image = QtGui.QPixmap(u':/graphics/openlp-splash-screen.png')
|
splash_image = QtGui.QPixmap(u':/graphics/openlp-splash-screen.png')
|
||||||
self.setPixmap(splash_image)
|
self.setPixmap(splash_image)
|
||||||
|
Loading…
Reference in New Issue
Block a user