mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix QuickView windows not staying on top on some linux systems
Fixes #1253922 [quickview should be pinned on top of main GUI](https://bugs.launchpad.net/calibre/+bug/1253922) Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
88ffba470a
@ -64,6 +64,7 @@ class Quickview(QDialog, Ui_Quickview):
|
||||
# Remove the help button from the window title bar
|
||||
icon = self.windowIcon()
|
||||
self.setWindowFlags(self.windowFlags()&(~Qt.WindowContextHelpButtonHint))
|
||||
self.setWindowFlags(self.windowFlags()|Qt.WindowStaysOnTopHint)
|
||||
self.setWindowIcon(icon)
|
||||
|
||||
self.db = view.model().db
|
||||
|
Loading…
x
Reference in New Issue
Block a user