mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 20:25:34 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -377,7 +377,7 @@ namespace BlackGui
|
||||
QMenu *currentMenu = nullptr;
|
||||
|
||||
// reverse iteration because same key values are inserted and have reverse order
|
||||
for (const CMenuAction &menuAction : actions)
|
||||
for (const CMenuAction &menuAction : std::as_const(actions))
|
||||
{
|
||||
// create submenu if required
|
||||
if (!currentMenu)
|
||||
|
||||
Reference in New Issue
Block a user