Skip to content

Commit

Permalink
Added missing parentheses (#355)
Browse files Browse the repository at this point in the history
About which, the compiler didn't give an error.
  • Loading branch information
tsujan authored Nov 1, 2020
1 parent ee7e479 commit 54367e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ MainWindow* Application::createWindow() {
}
QKeySequence seq = action->shortcut();
ShortcutDescription s;
s.displayText = action->text().remove QStringLiteral("&"); // without mnemonics
s.displayText = action->text().remove(QLatin1Char('&')); // without mnemonics
s.shortcut = seq;
defaultShortcuts_.insert(action->objectName(), s);
}
Expand Down

0 comments on commit 54367e2

Please sign in to comment.