Skip to content

Commit e25bf2e

Browse files
Disabled minimize button for floating widgets because user cannot restore minimized windows because they do not have a taskbar entry
1 parent b44a7e7 commit e25bf2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FloatingDockContainer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ CFloatingDockContainer::CFloatingDockContainer(CDockManager* DockManager) :
219219
QWidget(DockManager, Qt::Window),
220220
d(new FloatingDockContainerPrivate(this))
221221
{
222+
setWindowFlags(Qt::Window | Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint);
222223
d->DockManager = DockManager;
223224
QBoxLayout* l = new QBoxLayout(QBoxLayout::TopToBottom);
224225
l->setContentsMargins(0, 0, 0, 0);

0 commit comments

Comments
 (0)