mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
qt: plat_tempfile: Fix milliseconds being appended twice
This commit is contained in:
@@ -316,7 +316,7 @@ plat_tempfile(char *bufp, char *prefix, char *suffix)
|
||||
name.append(QString("%1-").arg(prefix));
|
||||
}
|
||||
|
||||
name.append(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzzz"));
|
||||
name.append(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzz"));
|
||||
if (suffix)
|
||||
name.append(suffix);
|
||||
strcpy(bufp, name.toUtf8().data());
|
||||
|
||||
Reference in New Issue
Block a user