mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-22 05:05:38 +08:00
Fixed clazy warnings: unnecessary containers and containers being detached.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user