mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-24 11:17:15 +01:00
js: minimize frameless window when clicking on taskbar icon
Co-authored-by: rating89us <45968869+rating89us@users.noreply.github.com>
This commit is contained in:
parent
2e2ae5c88f
commit
3ba976638f
@ -1,4 +1,5 @@
|
||||
var flagsCustomDecorations = (Qt.FramelessWindowHint | Qt.CustomizeWindowHint | Qt.WindowSystemMenuHint | Qt.Window);
|
||||
var flagsCustomDecorationsBase = (Qt.FramelessWindowHint | Qt.CustomizeWindowHint | Qt.WindowSystemMenuHint | Qt.Window);
|
||||
var flagsCustomDecorations = isWindows ? (flagsCustomDecorationsBase | Qt.WindowMinimizeButtonHint) : flagsCustomDecorationsBase;
|
||||
var flags = (Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint | Qt.WindowMaximizeButtonHint | Qt.WindowFullscreenButtonHint);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user