mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Add workaround for QTBUG-64994
This commit is contained in:
parent
050190100e
commit
39ab87eee6
@ -156,6 +156,8 @@ Rectangle {
|
||||
enabled: root.minimizeEnabled && !root.fullScreen
|
||||
visible: root.minimizeEnabled && !root.fullScreen
|
||||
onClicked: {
|
||||
// Workaround for QTBUG-64994
|
||||
window.flags = Qt.Window | Qt.CustomizeWindowHint | Qt.WindowMinMaxButtonsHint
|
||||
window.showMinimized()
|
||||
root.minimized()
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ FramelessWindow.CustomWindow {
|
||||
// Window geometry (different minimum size for non-macOS
|
||||
// operating systems because of the global menubar in macOS)
|
||||
//
|
||||
visible: true
|
||||
visible: false
|
||||
title: Cpp_AppName
|
||||
width: minimumWidth
|
||||
height: minimumHeight
|
||||
|
Loading…
x
Reference in New Issue
Block a user