mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
Ref T184 Minor simplification.
This commit is contained in:
@@ -197,12 +197,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
QList<const CDockWidgetInfoArea *> CInfoArea::getDockWidgetInfoAreas() const
|
QList<const CDockWidgetInfoArea *> CInfoArea::getDockWidgetInfoAreas() const
|
||||||
{
|
{
|
||||||
QList<const CDockWidgetInfoArea *> constDockWidgets;
|
return makeRange(m_dockWidgetInfoAreas);
|
||||||
for (const CDockWidgetInfoArea *dockWidgetInfoArea : m_dockWidgetInfoAreas)
|
|
||||||
{
|
|
||||||
constDockWidgets.append(dockWidgetInfoArea);
|
|
||||||
}
|
|
||||||
return constDockWidgets;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<QAction *> CInfoArea::getInfoAreaSelectActions(bool withShortcut, QWidget *parent) const
|
QList<QAction *> CInfoArea::getInfoAreaSelectActions(bool withShortcut, QWidget *parent) const
|
||||||
|
|||||||
Reference in New Issue
Block a user