creates common texts for opening streams
Texts for opening streams were used in multiple locations. Created a file to store GUI texts like this and replaced were applicable
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "controllers/highlights/HighlightPhrase.hpp"
|
||||
#include "controllers/moderationactions/ModerationAction.hpp"
|
||||
#include "widgets/helper/CommonTexts.hpp"
|
||||
|
||||
#include <pajlada/settings/setting.hpp>
|
||||
#include <pajlada/settings/settinglistener.hpp>
|
||||
@@ -172,7 +173,8 @@ public:
|
||||
"qrc:/sounds/ping3.wav"};
|
||||
|
||||
BoolSetting notificationToast = {"/notifications/enableToast", false};
|
||||
QStringSetting openFromToast = {"/notifications/openFromToast", "in browser"};
|
||||
QStringSetting openFromToast = {"/notifications/openFromToast",
|
||||
OPEN_IN_BROWSER};
|
||||
|
||||
/// External tools
|
||||
// Streamlink
|
||||
|
||||
Reference in New Issue
Block a user