working on fixing
This commit is contained in:
committed by
borgmanJeremy
parent
2d8ad0d516
commit
2722899a46
@@ -18,7 +18,9 @@
|
||||
#include "capturelauncher.h"
|
||||
#include "src/core/controller.h"
|
||||
#include "src/utils/screengrabber.h"
|
||||
#include "src/utils/screenshotsaver.h"
|
||||
#include "src/widgets/imagelabel.h"
|
||||
|
||||
#include "src/widgets/notificationwidget.h"
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
@@ -148,6 +150,13 @@ CaptureLauncher::captureTaken(uint id, QPixmap p)
|
||||
m_imageLabel->setScreenshot(p);
|
||||
show();
|
||||
}
|
||||
|
||||
auto mode = static_cast<CaptureRequest::CaptureMode>(
|
||||
m_captureType->currentData().toInt());
|
||||
|
||||
if (mode == CaptureRequest::FULLSCREEN_MODE) {
|
||||
ScreenshotSaver().saveToFilesystemGUI(p);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user