mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-21 21:20:45 +00:00
Merge branch 'master' of ssh://git.code.sf.net/p/sleepyhead/code
This commit is contained in:
commit
8dbe7274c3
@ -876,7 +876,7 @@ void MainWindow::DelayedScreenshot()
|
|||||||
dir.mkdir(a);
|
dir.mkdir(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
a+="/screenshot-"+QDateTime::currentDateTime().toString(Qt::ISODate)+".png";
|
a+="/screenshot-"+QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss")+".png";
|
||||||
|
|
||||||
qDebug() << "Saving screenshot to" << a;
|
qDebug() << "Saving screenshot to" << a;
|
||||||
if (!pixmap.save(a)) {
|
if (!pixmap.save(a)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user