mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-26 03:39:34 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user