summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/bsdfb/qbsdfbscreen.cpp')
-rw-r--r--src/plugins/platforms/bsdfb/qbsdfbscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp b/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
index 564e670290..31f8dab091 100644
--- a/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
+++ b/src/plugins/platforms/bsdfb/qbsdfbscreen.cpp
@@ -128,7 +128,7 @@ bool QBsdFbScreen::initialize()
QRect userGeometry;
// Parse arguments
- for (const QString &arg : qAsConst(m_arguments)) {
+ for (const QString &arg : std::as_const(m_arguments)) {
QRegularExpressionMatch match;
if (arg.contains(mmSizeRx, &match))
userMmSize = QSize(match.captured(1).toInt(), match.captured(2).toInt());