main window temporary hide bug seems to be fixed

This commit is contained in:
Rinaldus 2016-04-06 08:10:56 +03:00
parent 36256e6ac7
commit 83bb1ceaf2
2 changed files with 2 additions and 4 deletions

View File

@ -4,8 +4,6 @@ clientmachine=localhost
clientmachinematch=0 clientmachinematch=0
desktop=-1 desktop=-1
desktoprule=2 desktoprule=2
fsplevel=2
fsplevelrule=2
skippager=true skippager=true
skippagerrule=2 skippagerrule=2
wmclass=photoframe wmclass=photoframe

View File

@ -61,7 +61,7 @@ class Window(QDialog):
self.ui = Ui_PhotoFrame() self.ui = Ui_PhotoFrame()
self.ui.setupUi(self) self.ui.setupUi(self)
self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint) self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint)
self.locked = True self.locked = True
self.resize(SizeX, SizeY) self.resize(SizeX, SizeY)
self.move(PosX,PosY) self.move(PosX,PosY)
@ -95,7 +95,7 @@ class Window(QDialog):
window.show() window.show()
def Lock(self): def Lock(self):
window.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint) window.setWindowFlags(MainWindowType | Qt.FramelessWindowHint)
self.locked = True self.locked = True
window.show() window.show()