aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/qbs-setup-qt/commandlineparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/qbs-setup-qt/commandlineparser.cpp')
-rw-r--r--src/app/qbs-setup-qt/commandlineparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/qbs-setup-qt/commandlineparser.cpp b/src/app/qbs-setup-qt/commandlineparser.cpp
index 9a6a003f7..c51af58a0 100644
--- a/src/app/qbs-setup-qt/commandlineparser.cpp
+++ b/src/app/qbs-setup-qt/commandlineparser.cpp
@@ -65,7 +65,7 @@ void CommandLineParser::parse(const QStringList &commandLine)
throwError(Tr::tr("No command-line arguments provided."));
while (!m_commandLine.isEmpty()) {
- const QString arg = m_commandLine.first();
+ const QString arg = m_commandLine.front();
if (!arg.startsWith(QLatin1Char('-')))
break;
m_commandLine.removeFirst();