From e25bf2eac2cc4274c95faaccbafd025ec4e268bc Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Wed, 6 Mar 2019 14:36:20 +0100 Subject: [PATCH] Disabled minimize button for floating widgets because user cannot restore minimized windows because they do not have a taskbar entry --- src/FloatingDockContainer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index c3de7ee..0779021 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -219,6 +219,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager* DockManager) : QWidget(DockManager, Qt::Window), d(new FloatingDockContainerPrivate(this)) { + setWindowFlags(Qt::Window | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint); d->DockManager = DockManager; QBoxLayout* l = new QBoxLayout(QBoxLayout::TopToBottom); l->setContentsMargins(0, 0, 0, 0);