Remove window flags for external widgets & console

This commit is contained in:
Alex Spataru 2025-01-07 23:11:33 -05:00
parent 748d443c72
commit af60ee595c
2 changed files with 0 additions and 14 deletions

View File

@ -35,11 +35,6 @@ Window {
title: qsTr("Console") title: qsTr("Console")
minimumWidth: terminal.implicitWidth + 16 minimumWidth: terminal.implicitWidth + 16
minimumHeight: terminal.implicitHeight + 16 + root.titlebarHeight minimumHeight: terminal.implicitHeight + 16 + root.titlebarHeight
Component.onCompleted: {
root.flags = Qt.Dialog |
Qt.WindowTitleHint |
Qt.WindowCloseButtonHint
}
// //
// Native window registration // Native window registration

View File

@ -109,15 +109,6 @@ Widgets.Pane {
minimumHeight: 480 / 2 minimumHeight: 480 / 2
title: widget.widgetTitle title: widget.widgetTitle
//
// Make window stay on top
//
Component.onCompleted: {
window.flags = Qt.Dialog |
Qt.WindowTitleHint |
Qt.WindowCloseButtonHint
}
// //
// Close window instead of app // Close window instead of app
// //