Ref T184 Minor simplification.

This commit is contained in:
Mathew Sutcliffe
2017-11-09 02:28:35 +00:00
parent cd13d18b00
commit 3e47bdcebc

View File

@@ -197,12 +197,7 @@ namespace BlackGui
QList<const CDockWidgetInfoArea *> CInfoArea::getDockWidgetInfoAreas() const
{
QList<const CDockWidgetInfoArea *> constDockWidgets;
for (const CDockWidgetInfoArea *dockWidgetInfoArea : m_dockWidgetInfoAreas)
{
constDockWidgets.append(dockWidgetInfoArea);
}
return constDockWidgets;
return makeRange(m_dockWidgetInfoAreas);
}
QList<QAction *> CInfoArea::getInfoAreaSelectActions(bool withShortcut, QWidget *parent) const