Add an indicator in the title bar if Streamer Mode is active (#4410)

This commit is contained in:
Mm2PL
2023-05-27 10:38:25 +00:00
committed by GitHub
parent 1bc423d9c4
commit c6c884df70
17 changed files with 163 additions and 2 deletions
+6
View File
@@ -1,5 +1,6 @@
#include "singletons/Settings.hpp"
#include "Application.hpp"
#include "controllers/filters/FilterRecord.hpp"
#include "controllers/highlights/HighlightBadge.hpp"
#include "controllers/highlights/HighlightBlacklistUser.hpp"
@@ -136,6 +137,11 @@ Settings::Settings(const QString &settingsDirectory)
},
false);
#endif
this->enableStreamerMode.connect(
[]() {
getApp()->streamerModeChanged.invoke();
},
false);
}
Settings &Settings::instance()