Use an older (I hope) function

This commit is contained in:
ArsenArsen 2017-07-10 15:44:03 +02:00
parent e090389201
commit 147e0051f6
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ RecordingFormats::RecordingFormats(formats::Recording f) {
return;
}
iFormat = QImage::Format_RGB888;
path = tmpDir.filePath("res." + formats::recordingFormatName(f).toLower());
path = tmpDir.path() + "/res." + formats::recordingFormatName(f).toLower();
finalizer = [&] {
delete enc;
return QFile(path).size() > 0 ? path : QString();