mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
This commit is contained in:
commit
05ab8d2067
@ -962,7 +962,9 @@ QSize CDockAreaWidget::minimumSizeHint() const
|
|||||||
void CDockAreaWidget::onDockWidgetFeaturesChanged()
|
void CDockAreaWidget::onDockWidgetFeaturesChanged()
|
||||||
{
|
{
|
||||||
if (d->TitleBar)
|
if (d->TitleBar)
|
||||||
|
{
|
||||||
d->updateTitleBarButtonStates();
|
d->updateTitleBarButtonStates();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -652,15 +652,8 @@ void CDockManager::showEvent(QShowEvent *event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (auto FloatingWidget : d->UninitializedFloatingWidgets)
|
for (auto FloatingWidget : d->UninitializedFloatingWidgets)
|
||||||
{
|
|
||||||
for(CDockWidget* DockWidget : FloatingWidget->dockWidgets())
|
|
||||||
{
|
|
||||||
if(!DockWidget->isClosed())
|
|
||||||
{
|
{
|
||||||
FloatingWidget->show();
|
FloatingWidget->show();
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
d->UninitializedFloatingWidgets.clear();
|
d->UninitializedFloatingWidgets.clear();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user