mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 01:00:50 +02:00
WTF...
This commit is contained in:
parent
c01fd02de2
commit
d5610a2f37
1 changed files with 2 additions and 2 deletions
|
@ -73,9 +73,9 @@ SnapshotMetaData* Snapshot::parseSnapshotData(QString snapshotPath) {
|
|||
return data;
|
||||
}
|
||||
|
||||
QString Snapshot::saveSnapshot(QImage image, const QString& filename) {
|
||||
QString Snapshot::saveSnapshot(QImage image, const QString& filename, const QString& pathname) {
|
||||
|
||||
QFile* snapshotFile = savedFileForSnapshot(image, false, filename);
|
||||
QFile* snapshotFile = savedFileForSnapshot(image, false, filename, pathname);
|
||||
|
||||
// we don't need the snapshot file, so close it, grab its filename and delete it
|
||||
snapshotFile->close();
|
||||
|
|
Loading…
Reference in a new issue