mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
Fix Clazy range-loop-detach warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user