mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-23 11:32:53 +08:00
Remove window flags for external widgets & console
This commit is contained in:
parent
748d443c72
commit
af60ee595c
@ -35,11 +35,6 @@ Window {
|
||||
title: qsTr("Console")
|
||||
minimumWidth: terminal.implicitWidth + 16
|
||||
minimumHeight: terminal.implicitHeight + 16 + root.titlebarHeight
|
||||
Component.onCompleted: {
|
||||
root.flags = Qt.Dialog |
|
||||
Qt.WindowTitleHint |
|
||||
Qt.WindowCloseButtonHint
|
||||
}
|
||||
|
||||
//
|
||||
// Native window registration
|
||||
|
@ -109,15 +109,6 @@ Widgets.Pane {
|
||||
minimumHeight: 480 / 2
|
||||
title: widget.widgetTitle
|
||||
|
||||
//
|
||||
// Make window stay on top
|
||||
//
|
||||
Component.onCompleted: {
|
||||
window.flags = Qt.Dialog |
|
||||
Qt.WindowTitleHint |
|
||||
Qt.WindowCloseButtonHint
|
||||
}
|
||||
|
||||
//
|
||||
// Close window instead of app
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user