Fix Clazy range-loop-detach warnings
This commit is contained in:
parent
f5f06ae44e
commit
d484ec3ac8
14 changed files with 42 additions and 35 deletions
|
|
@ -162,7 +162,7 @@ public:
|
|||
|
||||
QString getCurrentAppName() const
|
||||
{
|
||||
for (const NvApp& app : m_Computer->appList) {
|
||||
for (const NvApp& app : std::as_const(m_Computer->appList)) {
|
||||
if (m_Computer->currentGameId == app.id) {
|
||||
return app.name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue