-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for customizing the behavior of Right Click
ing of usernames.
#4622
Allow for customizing the behavior of Right Click
ing of usernames.
#4622
Conversation
Right Click
ing of usernames.
…re/lidl_hotkeys_for_username_right_click
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
auto userMention = formatUserMention( | ||
link.value, isFirstWord, commaMention); | ||
insertText("@" + userMention + " "); | ||
Qt::KeyboardModifier userSpecifiedModifier = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: variable 'userSpecifiedModifier' of type 'Qt::KeyboardModifier' can be declared 'const' [misc-const-correctness]
Qt::KeyboardModifier userSpecifiedModifier = | |
Qt::KeyboardModifier const userSpecifiedModifier = |
return; | ||
} | ||
|
||
Qt::KeyboardModifiers modifiers{userSpecifiedModifier}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: variable 'modifiers' of type 'Qt::KeyboardModifiers' (aka 'QFlagsQt::KeyboardModifier') can be declared 'const' [misc-const-correctness]
Qt::KeyboardModifiers modifiers{userSpecifiedModifier}; | |
Qt::KeyboardModifiers const modifiers{userSpecifiedModifier}; |
Description
A follow up to #4424 and #4183