1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-21 16:05:26 +02:00

windows: fix participant screenshot

Change-Id: I41f847c4b60d3f303c5a92b61b0035b5e8c82b68
This commit is contained in:
Aline Gondim Santos 2023-03-07 09:41:30 -03:00
parent 4a583ed195
commit b3f30f42fa

View file

@ -1154,7 +1154,11 @@ CallAdapter::takeScreenshot(const QImage& image, const QString& path)
{
QString name = QString("%1 %2")
.arg(tr("Screenshot"))
#ifdef WIN32
.arg(QDateTime::currentDateTime().toString("yyyy-MM-dd HHmmss"));
#else
.arg(QDateTime::currentDateTime().toString(Qt::ISODate));
#endif
bool fileAlreadyExists = true;
int nb = 0;