Skip to content

Commit

Permalink
fix: clazy hint
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Feb 2, 2022
1 parent 6a89edd commit 484c850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HotkeyWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HotkeyWidget::HotkeyWidget(QWidget *parent) :

QList<KeyNameCode> keyNameCode = Hotkey::getKeyNameCodes();

for(auto item : keyNameCode)
for(auto &item : keyNameCode)
{
// Don't add reserved hotkeys to list
if(item.name != "Enter"
Expand Down

0 comments on commit 484c850

Please sign in to comment.