FIX compile-warnings

This commit is contained in:
plc-user
2026-08-22 13:34:29 +02:00
parent c536dcf30f
commit 56464629bf
3 changed files with 5 additions and 4 deletions
@@ -212,7 +212,7 @@ void ShortcutsConfigPage::applyFilter()
const int quick_filter = m_quick_filter->currentIndex();
int visible_actions = 0;
for (const Row &row : qAsConst(m_rows)) {
for (const Row &row : std::as_const(m_rows)) {
// Text is matched by substring, but the key sequence is matched exactly:
// a substring match would let "Ctrl+S" also hit "Ctrl+Shift+F" (the "S"
// of "Shift"), which is precisely the kind of false positive that hides