Fixed clazy warnings: unnecessary containers and containers being detached.

This commit is contained in:
Mat Sutcliffe
2018-12-17 17:43:31 +00:00
parent 462172a87f
commit c71d358648
9 changed files with 14 additions and 14 deletions

View File

@@ -320,10 +320,10 @@ namespace BlackGui
QList<CMenuAction> toQList() const;
//! First action
CMenuAction first() const { return toQList().first(); }
CMenuAction first() const { return m_actions.first(); }
//! Last action
CMenuAction last() const { return toQList().last(); }
CMenuAction last() const { return m_actions.last(); }
//! All actions;
operator QList<QAction *>() const;