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(QString("%1-").arg(prefix));
|
||||||
}
|
}
|
||||||
|
|
||||||
name.append(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzzz"));
|
name.append(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzz"));
|
||||||
if (suffix)
|
if (suffix)
|
||||||
name.append(suffix);
|
name.append(suffix);
|
||||||
strcpy(bufp, name.toUtf8().data());
|
strcpy(bufp, name.toUtf8().data());
|
||||||
|
Reference in New Issue
Block a user