Skip to content
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

Refactor the EmotePopup file #4239

Merged
merged 1 commit into from
Dec 17, 2022
Merged

Refactor the EmotePopup file #4239

merged 1 commit into from
Dec 17, 2022

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Dec 17, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

Flatten the anonymous namespace
Make the loadEmojis functions static
Make the filterEmoteMap function static
Return an EmoteMap from filterEmoteMap instead of an EmoteMap*
Other misc cool changes :-)

Flatten the anonymous namespace
Make the `loadEmojis` functions static
Make the `filterEmoteMap` function static
Return an EmoteMap from `filterEmoteMap` instead of an EmoteMap*
Other misc cool changes :-)
Copy link
Contributor

@github-actions github-actions bot left a 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

src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
src/widgets/dialogs/EmotePopup.cpp Show resolved Hide resolved
@pajlada pajlada merged commit b074a8f into master Dec 17, 2022
@pajlada pajlada deleted the chore/refactor-emote-popup branch December 17, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant