fix bug on macos with save dialog (#2379)

* fix bug on macos with save dialog

* refactored Saver to not be a class since there are no member variables

* removed useless comment
This commit is contained in:
borgmanJeremy
2022-02-06 17:51:51 -06:00
committed by GitHub
parent f7315ec625
commit 74db680505
6 changed files with 84 additions and 102 deletions

View File

@@ -119,7 +119,7 @@ void CaptureLauncher::captureTaken(QPixmap screenshot)
ui->captureType->currentData().toInt());
if (mode == CaptureRequest::FULLSCREEN_MODE) {
ScreenshotSaver().saveToFilesystemGUI(screenshot);
saveToFilesystemGUI(screenshot);
}
ui->launchButton->setEnabled(true);
}