mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Added fixme comments to change dynamic_cast to qobject_cast.
This commit is contained in:
@@ -27,6 +27,7 @@ namespace BlackGui
|
||||
|
||||
const CInfoArea *CDockWidgetInfoArea::getParentInfoArea() const
|
||||
{
|
||||
//! \fixme MS 2018-12 use qobject_cast
|
||||
const CInfoArea *ia = dynamic_cast<const CInfoArea *>(this->parent());
|
||||
Q_ASSERT(ia);
|
||||
return ia;
|
||||
@@ -34,6 +35,7 @@ namespace BlackGui
|
||||
|
||||
CInfoArea *CDockWidgetInfoArea::getParentInfoArea()
|
||||
{
|
||||
//! \fixme MS 2018-12 use qobject_cast
|
||||
CInfoArea *ia = dynamic_cast<CInfoArea *>(this->parent());
|
||||
Q_ASSERT(ia);
|
||||
return ia;
|
||||
|
||||
Reference in New Issue
Block a user