Emit dbus captureSaved signal when saving files

New captureSaved signal contains the request ID and canonical path of the saved
file. This allows a dbus listener interested in postprocessing files access to
the path most recently written.
This commit is contained in:
brimston3
2021-01-14 18:45:00 -05:00
committed by borgmanJeremy
parent 635c2a3eef
commit e07829ec55
8 changed files with 42 additions and 5 deletions

View File

@@ -312,6 +312,11 @@ void Controller::showRecentScreenshots()
m_history->show();
}
void Controller::sendCaptureSaved(uint id, const QString& savePath)
{
emit captureSaved(id, savePath);
}
void Controller::startFullscreenCapture(const uint id)
{
bool ok = true;