mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-25 19:30:02 +00:00
removed close after capture
This commit is contained in:
committed by
borgmanJeremy
parent
3acd61fdec
commit
826165c527
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user