Fix fullscreen not using the command
This commit is contained in:
parent
14c7a8fde4
commit
413f785375
@ -21,6 +21,9 @@ void screenshotter::area() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void screenshotter::fullscreen() {
|
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()));
|
UploaderSingleton::inst().upload(utils::fullscreen(settings::settings().value("captureCursor", true).toBool()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user