Skip to content

don't speak again#4740

Merged
Kebap merged 2 commits intodevelopmentfrom
dont_speak
Feb 3, 2021
Merged

don't speak again#4740
Kebap merged 2 commits intodevelopmentfrom
dont_speak

Conversation

@Kebap
Copy link
Copy Markdown
Contributor

@Kebap Kebap commented Feb 3, 2021

Brief overview of PR changes/additions

Repeat #4706 which had to be reverted

Motivation for adding to Mudlet

Still want the intended changes

Other info (issues closed, discussion etc)

@Kebap Kebap requested a review from a team as a code owner February 3, 2021 13:27
@Kebap Kebap requested review from a team February 3, 2021 13:27
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Feb 3, 2021

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

}

std::vector<QString> dontSpeak = {"<", ">", "&lt;", "&gt;"}; // discussion: https://github.com/Mudlet/Mudlet/issues/4689
for (QString dropThis : dontSpeak) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for (QString dropThis : dontSpeak) {
for (const auto dropThis : dontSpeak) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I like auto over QString here. It muddles the clear water. Const seams fine though.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair call.

}

std::vector<QString> dontSpeak = {"<", ">", "&lt;", "&gt;"}; // discussion: https://github.com/Mudlet/Mudlet/issues/4689
for (QString dropThis : dontSpeak) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for (QString dropThis : dontSpeak) {
for (const auto dropThis : dontSpeak) {

@Kebap Kebap merged commit d01c62b into development Feb 3, 2021
@Kebap Kebap deleted the dont_speak branch February 3, 2021 13:57
Chris7 pushed a commit to Chris7/Mudlet that referenced this pull request Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants