Commit f7bd0d99 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt5.15

parent f054c5c4
......@@ -283,7 +283,8 @@ void kiriki::endGame()
KScoreDialog::FieldInfo scoreInfo;
const QDate date = QDate::currentDate();
const QString datestring = date.toString(Qt::DefaultLocaleShortDate);
QLocale l;
const QString datestring = l.toString(date, QLocale::ShortFormat);
scoreInfo[KScoreDialog::Date] = datestring;
if (sc->addScore(scoreInfo))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment