Implemented requested changes
changed setting from String to int. changed EnumCase I used createComboBox only has an implementation that handles stringsettings. I implemented my own combobox to handle the ToastsSettings now. Not sure if this is the best way. Won't come up with something smarter for now.
This commit is contained in:
@@ -173,9 +173,9 @@ public:
|
||||
"qrc:/sounds/ping3.wav"};
|
||||
|
||||
BoolSetting notificationToast = {"/notifications/enableToast", false};
|
||||
QStringSetting openFromToast = {
|
||||
IntSetting openFromToast = {
|
||||
"/notifications/openFromToast",
|
||||
Toasts::findStringFromReaction(ToastReactions::openInBrowser)};
|
||||
static_cast<int>(ToastReactions::OpenInBrowser)};
|
||||
|
||||
/// External tools
|
||||
// Streamlink
|
||||
|
||||
Reference in New Issue
Block a user