removed close after capture

This commit is contained in:
Jeremy Borgman
2020-10-25 14:17:30 -05:00
committed by borgmanJeremy
parent 3acd61fdec
commit 826165c527
6 changed files with 3 additions and 108 deletions

View File

@@ -338,18 +338,11 @@ void Controller::handleCaptureTaken(uint id, QPixmap p)
it.value().exportCapture(p);
m_requestMap.erase(it);
}
if (ConfigHandler().closeAfterScreenshotValue()) {
QApplication::quit();
}
}
void Controller::handleCaptureFailed(uint id)
{
m_requestMap.remove(id);
if (ConfigHandler().closeAfterScreenshotValue()) {
QApplication::quit();
}
}
void Controller::doLater(int msec, QObject* receiver, lambda func)