aboutsummaryrefslogtreecommitdiff
path: root/src/Overlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r--src/Overlay.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index e897f5a..61fa9c5 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -1306,12 +1306,18 @@ namespace gsr {
truncate_string(focused_window_name, 20);
std::string text;
switch(notification_type) {
- case NotificationType::RECORD:
+ case NotificationType::RECORD: {
+ if(!config.record_config.show_video_saved_notifications)
+ return;
text = "Saved recording to '" + focused_window_name + "/" + video_filename + "'";
break;
- case NotificationType::REPLAY:
+ }
+ case NotificationType::REPLAY: {
+ if(!config.replay_config.show_replay_saved_notifications)
+ return;
text = "Saved replay to '" + focused_window_name + "/" + video_filename + "'";
break;
+ }
case NotificationType::NONE:
case NotificationType::STREAM:
break;