mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 07:37:28 +02:00
Don't always on top InteractiveWindows (Windows OS)
This commit is contained in:
parent
e08d8e9046
commit
efa3fa7907
1 changed files with 2 additions and 1 deletions
|
@ -146,7 +146,8 @@ Windows.Window {
|
||||||
Qt.WindowCloseButtonHint |
|
Qt.WindowCloseButtonHint |
|
||||||
Qt.WindowMaximizeButtonHint |
|
Qt.WindowMaximizeButtonHint |
|
||||||
Qt.WindowMinimizeButtonHint;
|
Qt.WindowMinimizeButtonHint;
|
||||||
if ((flags & Desktop.ALWAYS_ON_TOP) === Desktop.ALWAYS_ON_TOP) {
|
// only use the always on top feature for non Windows OS
|
||||||
|
if (Qt.platform.os !== "windows" && (flags & Desktop.ALWAYS_ON_TOP) === Desktop.ALWAYS_ON_TOP) {
|
||||||
nativeWindowFlags |= Qt.WindowStaysOnTopHint;
|
nativeWindowFlags |= Qt.WindowStaysOnTopHint;
|
||||||
}
|
}
|
||||||
nativeWindow.flags = nativeWindowFlags;
|
nativeWindow.flags = nativeWindowFlags;
|
||||||
|
|
Loading…
Reference in a new issue