Skip to content

Conversation

metsma
Copy link
Contributor

@metsma metsma commented Oct 1, 2025

Signed-off-by: Raul Metsma [email protected]

@metsma metsma changed the title Locked Show warning when card requires activation Oct 1, 2025
@metsma metsma force-pushed the locked branch 10 times, most recently from 7e98904 to 7df05b8 Compare October 8, 2025 07:41
@metsma metsma force-pushed the locked branch 3 times, most recently from 459def8 to 4e5b861 Compare October 8, 2025 15:30
@metsma metsma force-pushed the locked branch 8 times, most recently from c4e19fb to 1b6849c Compare October 16, 2025 09:06
WE2-1114, WE2-1119

Signed-off-by: Raul Metsma <[email protected]>

// http://www.etsi.org/deliver/etsi_en/319400_319499/31941201/01.01.01_60/en_31941201v010101p.pdf
if (serialNumber.size() > 6 && serialNumber.startsWith(QStringLiteral("PNO"))
if (serialNumber.size() > 6 && serialNumber.startsWith(QLatin1String("PNO"))
Copy link
Member

Choose a reason for hiding this comment

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

Is there any reason not to use the QString operator:

Suggested change
if (serialNumber.size() > 6 && serialNumber.startsWith(QLatin1String("PNO"))
if (serialNumber.size() > 6 && serialNumber.startsWith(u"PNO"_s))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need still support Qt 6.2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need still support Qt 6.2.
https://doc.qt.io/qt-6/qt-literals-stringliterals.html Since 6.4

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