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

Modernize strings #14

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Modernize strings #14

wants to merge 6 commits into from

Conversation

luis-pereira
Copy link
Member

No description provided.

Making heavy use of the ""_L1 operator. Less clutter.
Use of the QL1S macro dropped. No need for it anymore.
Note: For the sake of review simplicity every string using Latin1 was
converted although some can benefit from QStringLiteral improved capabilities on
repeated data sharing.
Less cluttered code. Dropped QLS macro use.
QStringLiteral can now share data with the same content.
@tsujan
Copy link
Member

tsujan commented Nov 22, 2024

Ah, thanks! I did it only for libfm-qt (and will make a PR for pcmanfm-qt). I used _L1 and _s only where there were lots of strings; in other places, I left them as they were.

BTW, more methods have been overloaded to accept QLatin1StringView.

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