diff --git a/src/widgets/Notebook.cpp b/src/widgets/Notebook.cpp index 1d7671f7c..3f9a9c67b 100644 --- a/src/widgets/Notebook.cpp +++ b/src/widgets/Notebook.cpp @@ -391,7 +391,8 @@ void Notebook::setShowTabs(bool value) if (!value && getSettings()->informOnTabVisibilityToggle.getValue()) { auto unhideSeq = getApp()->hotkeys->getDisplaySequence( - HotkeyCategory::Window, "setTabVisibility", {{}}); + HotkeyCategory::Window, "setTabVisibility", + {std::vector()}); if (unhideSeq.isEmpty()) { unhideSeq = getApp()->hotkeys->getDisplaySequence( @@ -436,7 +437,7 @@ void Notebook::setShowTabs(bool value) void Notebook::updateTabVisibilityMenuAction() { auto toggleSeq = getApp()->hotkeys->getDisplaySequence( - HotkeyCategory::Window, "setTabVisibility", {{}}); + HotkeyCategory::Window, "setTabVisibility", {std::vector()}); if (toggleSeq.isEmpty()) { toggleSeq = getApp()->hotkeys->getDisplaySequence( diff --git a/src/widgets/splits/SplitHeader.cpp b/src/widgets/splits/SplitHeader.cpp index 4b6601e17..412c6f798 100644 --- a/src/widgets/splits/SplitHeader.cpp +++ b/src/widgets/splits/SplitHeader.cpp @@ -451,8 +451,8 @@ std::unique_ptr SplitHeader::createMainMenu() if (twitchChannel) { - auto bothSeq = - h->getDisplaySequence(HotkeyCategory::Split, "reloadEmotes", {{}}); + auto bothSeq = h->getDisplaySequence( + HotkeyCategory::Split, "reloadEmotes", {std::vector()}); auto channelSeq = h->getDisplaySequence(HotkeyCategory::Split, "reloadEmotes", {{"channel"}}); auto subSeq = h->getDisplaySequence(HotkeyCategory::Split, @@ -484,8 +484,9 @@ std::unique_ptr SplitHeader::createMainMenu() "setModerationMode", {{"toggle"}}); if (modModeSeq.isEmpty()) { - modModeSeq = h->getDisplaySequence(HotkeyCategory::Split, - "setModerationMode", {{}}); + modModeSeq = + h->getDisplaySequence(HotkeyCategory::Split, "setModerationMode", + {std::vector()}); // this makes a full std::optional<> with an empty vector inside } moreMenu->addAction( @@ -529,7 +530,8 @@ std::unique_ptr SplitHeader::createMainMenu() if (notifySeq.isEmpty()) { notifySeq = h->getDisplaySequence(HotkeyCategory::Split, - "setChannelNotification", {{}}); + "setChannelNotification", + {std::vector()}); // this makes a full std::optional<> with an empty vector inside } action->setShortcut(notifySeq);