mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
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:
committed by
Mathew Sutcliffe
parent
0c94922bd6
commit
3acf085b92
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user