Fix fullscreen not using the command

This commit is contained in:
ArsenArsen 2017-12-17 21:39:57 +01:00
parent 14c7a8fde4
commit 413f785375
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2

View File

@ -21,6 +21,9 @@ void screenshotter::area() {
}
void screenshotter::fullscreen() {
if (!settings::settings().value("command/fullscreenCommand", "").toString().isEmpty())
utils::externalScreenshot([](QPixmap p) { UploaderSingleton::inst().upload(p); });
else
UploaderSingleton::inst().upload(utils::fullscreen(settings::settings().value("captureCursor", true).toBool()));
}