Skip to content

Conversation

petitlapin
Copy link

There are several fixes here:

  • bump minimal version to Qt5.15. This allows to remove some deprecated warnings on QMultiMap (unfortunately QMultiMapIterator is only Qt6 so we cannot remove at these places)
  • Run multiple clazy checks to reduce the memory allocations.

I've created one commit per check, feel free to merge them if you feel it more appropriate

* "--expert 10". Calling contains("expert") will return true.
* @see optionArgument()
*/
bool contains(const QLatin1String & key) const;
Copy link
Author

Choose a reason for hiding this comment

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

Here, either we add a contains with a QLatin1String or we change everywhere to use a QStringLiteral instead of a QLatin1String. From what I understand, as there are overrides for QLatin1String in QListString.contains, it should be faster to have an override instead of using QStringLiteral

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.

1 participant