forked from qt-creator/qt-creator
Fix TODO with qAsConst
Change-Id: I457a51ad5c6069fc8b27e3074296189f1a8087c9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -137,13 +137,13 @@ namespace ADS
|
|||||||
void hideFloatingWidgets()
|
void hideFloatingWidgets()
|
||||||
{
|
{
|
||||||
// Hide updates of floating widgets from user
|
// Hide updates of floating widgets from user
|
||||||
for (auto floatingWidget : m_floatingWidgets) // TODO qAsConst()
|
for (auto floatingWidget : qAsConst(m_floatingWidgets))
|
||||||
floatingWidget->hide();
|
floatingWidget->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void markDockWidgetsDirty()
|
void markDockWidgetsDirty()
|
||||||
{
|
{
|
||||||
for (auto dockWidget : m_dockWidgetsMap) // TODO qAsConst()
|
for (auto dockWidget : qAsConst(m_dockWidgetsMap))
|
||||||
dockWidget->setProperty("dirty", true);
|
dockWidget->setProperty("dirty", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user