Started implementing VisibleDockAreaCount cache

This commit is contained in:
Uwe Kindler
2018-11-01 07:53:54 +01:00
parent 268f8655a1
commit 5e6c82b68d
6 changed files with 61 additions and 45 deletions

View File

@@ -350,14 +350,6 @@ void CFloatingDockContainer::showEvent(QShowEvent *event)
{
std::cout << "CFloatingDockContainer showEvent" << std::endl;
QWidget::showEvent(event);
/*for (int i = 0; i < DockContainer->dockAreaCount(); ++i)
{
auto DockArea = DockContainer->dockArea(i);
for (auto DockWidget : DockArea->openedDockWidgets())
{
DockWidget->setToggleViewActionChecked(true);
}
}*/
for (auto DockArea : d->DockContainer->openedDockAreas())
{
for (auto DockWidget : DockArea->openedDockWidgets())