Added new CDockWidget flag CDockWidget::NoTab to hide the tab from the dock area title bar

This commit is contained in:
Uwe Kindler
2021-01-09 19:02:25 +01:00
parent c8fe4c46dd
commit 8a27a5596b
3 changed files with 7 additions and 5 deletions

View File

@@ -629,7 +629,7 @@ void CDockWidgetTab::mouseDoubleClickEvent(QMouseEvent *event)
//============================================================================
void CDockWidgetTab::setVisible(bool visible)
{
// Just here for debugging to insert debug output
visible &= !d->DockWidget->features().testFlag(CDockWidget::NoTab);
Super::setVisible(visible);
}