UI: Add save notifications to status bar
This shows notifications in the status bar with the following: - When screenshot is saved - When replay buffer is saved - When recording is saved - When recording is auto remuxed
This commit is contained in:
parent
416a55cccb
commit
448c7f38d0
7 changed files with 67 additions and 7 deletions
|
|
@ -37,8 +37,17 @@ ScreenshotObj::~ScreenshotObj()
|
|||
obs_leave_graphics();
|
||||
|
||||
obs_remove_tick_callback(ScreenshotTick, this);
|
||||
if (th.joinable())
|
||||
|
||||
if (th.joinable()) {
|
||||
th.join();
|
||||
|
||||
if (cx && cy) {
|
||||
OBSBasic *main = OBSBasic::Get();
|
||||
main->ShowStatusBarMessage(
|
||||
QTStr("Basic.StatusBar.ScreenshotSavedTo")
|
||||
.arg(QT_UTF8(path.c_str())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenshotObj::Screenshot()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue