Skip to content

Commit

Permalink
fix call to QLocale()
Browse files Browse the repository at this point in the history
  • Loading branch information
DSCaskey committed Apr 20, 2024
1 parent 7bdb850 commit 36f0f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/seamly2d/dialogs/about2d_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ About2DAppDialog::About2DAppDialog(QWidget *parent)
}
ui->version_value->setText(QString("Seamly2D %1").arg(APP_VERSION_STR));
ui->revision_value->setText(revision);
QLocale sysloc = QLocale::QLocale();
QLocale sysloc = QLocale();
QDate date = sysloc.toDate(QString(__DATE__).simplified(), QLatin1String("MMM d yyyy"));
ui->buildDate_value->setText(tr("Built on %1 at %2").arg(date.toString()).arg(__TIME__));
ui->qtVersion_value->setText(QLatin1String(qVersion()));
Expand Down

0 comments on commit 36f0f69

Please sign in to comment.