Disabled minimize button for floating widgets because user cannot restore minimized windows because they do not have a taskbar entry

This commit is contained in:
Uwe Kindler 2019-03-06 14:36:20 +01:00
parent b44a7e75ca
commit e25bf2eac2

View File

@ -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);