Skip to content

Commit

Permalink
ActionUtils: Avoid clazy compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7pt0gr4ph7 committed Oct 3, 2024
1 parent 77a2faf commit 500e883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/actionutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ActionUtils {
const QString& baseText, const QList<QKeySequence>& shortcuts) {
QString textAndAccel = baseText;
bool first = true;
for (auto shortcut : shortcuts) {
for (const auto& shortcut : shortcuts) {
if (!shortcut.isEmpty()) {
if (first) {
textAndAccel += u'\t';
Expand Down

0 comments on commit 500e883

Please sign in to comment.