refs #477, allow to detect an invisible dock widget parent by using CEnableForDockWidgetInfoArea for the view base

(by that I can tell if the parent dock widget is visible)
This commit is contained in:
Klaus Basan
2015-10-31 01:17:09 +01:00
committed by Mathew Sutcliffe
parent 0c94922bd6
commit 3acf085b92
6 changed files with 19 additions and 8 deletions

View File

@@ -97,10 +97,6 @@ namespace BlackGui
foreach(CEnableForDockWidgetInfoArea * dwia, infoAreaDockWidgets)
{
Q_ASSERT_X(dwia, Q_FUNC_INFO, "Missing info area");
// KWB: potentially a risk when this object is deleted
// but under normal situations the child object will be deleted as well, and we have
// no multi-threaded GUI
dwia->setParentDockWidgetInfoArea(this);
}
}