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:
Clayton Groeneveld
2021-04-01 07:36:20 -07:00
committed by Jim
parent 416a55cccb
commit 448c7f38d0
7 changed files with 67 additions and 7 deletions
+6
View File
@@ -33,6 +33,7 @@
#include <QTimer>
#include "qt-wrappers.hpp"
#include "window-basic-main.hpp"
#include <memory>
#include <cmath>
@@ -927,6 +928,11 @@ void OBSRemux::remuxFinished(bool success)
if (autoRemux && autoRemuxFile != "") {
QTimer::singleShot(3000, this, SLOT(close()));
OBSBasic *main = OBSBasic::Get();
main->ShowStatusBarMessage(
QTStr("Basic.StatusBar.AutoRemuxedTo")
.arg(autoRemuxFile));
}
remuxNextEntry();