File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ void MXDateTime::startup()
9494 zones = zoneOut.trimmed ().split (' \n ' );
9595 comboTimeZone->blockSignals (true ); // Keep blocked until loadSysTimeConfig().
9696 comboTimeArea->clear ();
97- for (const QByteArray &zone : qAsConst (zones)) {
97+ for (const QByteArray &zone : std::as_const (zones)) {
9898 const QString &area = QString (zone).section (' /' , 0 , 0 );
9999 if (comboTimeArea->findData (area) < 0 ) {
100100 QString text (area);
@@ -227,7 +227,7 @@ void MXDateTime::timeAreaIndexChanged(int index)
227227 }
228228 const QByteArray &area = comboTimeArea->itemData (index).toByteArray ();
229229 comboTimeZone->clear ();
230- for (const QByteArray &zone : qAsConst (zones)) {
230+ for (const QByteArray &zone : std::as_const (zones)) {
231231 if (zone.startsWith (area)) {
232232 QString text (QString (zone).section (' /' , 1 ));
233233 text.replace (' _' , ' ' );
You can’t perform that action at this time.
0 commit comments