Skip to content

Commit

Permalink
Fixed another warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Feb 24, 2024
1 parent c7acdbf commit 40ce891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qtermwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ void QTermWidget::init(int startnow)

m_translator = new QTranslator(this);

for (const QString& dir : qAsConst(dirs)) {
for (const QString& dir : std::as_const(dirs)) {
//qDebug() << "Trying to load translation file from dir" << dir;
if (m_translator->load(QLocale::system(), QLatin1String("qtermwidget"), QLatin1String(QLatin1String("_")), dir)) {
qApp->installTranslator(m_translator);
Expand Down

0 comments on commit 40ce891

Please sign in to comment.