mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix for bug #1253922 -- Quickview window is not staying on top of its parent in some *nix systems.
This commit is contained in:
parent
b8bb775a1b
commit
d9dd5fbe59
@ -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