diff --git a/sleepyhead/mainwindow.cpp b/sleepyhead/mainwindow.cpp index 53c81e64..ee493818 100644 --- a/sleepyhead/mainwindow.cpp +++ b/sleepyhead/mainwindow.cpp @@ -876,7 +876,7 @@ void MainWindow::DelayedScreenshot() dir.mkdir(a); } - a+="/screenshot-"+QDateTime::currentDateTime().toString(Qt::ISODate)+".png"; + a+="/screenshot-"+QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss")+".png"; qDebug() << "Saving screenshot to" << a; if (!pixmap.save(a)) {