aboutsummaryrefslogtreecommitdiff
path: root/include/gui/SettingsPage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-27 13:09:06 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-27 13:09:06 +0100
commit59dfd87c21026ef4dc713c3e0648cfa89d534557 (patch)
tree6f2f5242eb9efdcb18f0150c59cb43bd1a348773 /include/gui/SettingsPage.hpp
parent28c437e90a3ad4660f44da8b8bf07008032d2bba (diff)
Add hotkeys for replay and streaming, finish everything
Diffstat (limited to 'include/gui/SettingsPage.hpp')
-rw-r--r--include/gui/SettingsPage.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp
index 77542a8..104cf18 100644
--- a/include/gui/SettingsPage.hpp
+++ b/include/gui/SettingsPage.hpp
@@ -23,7 +23,7 @@ namespace gsr {
STREAM
};
- SettingsPage(Type type, const GsrInfo &gsr_info, std::vector<AudioDevice> audio_devices, std::optional<Config> &config, PageStack *page_stack);
+ SettingsPage(Type type, const GsrInfo &gsr_info, std::vector<AudioDevice> audio_devices, Config &config, PageStack *page_stack);
SettingsPage(const SettingsPage&) = delete;
SettingsPage& operator=(const SettingsPage&) = delete;
@@ -104,7 +104,7 @@ namespace gsr {
void save_stream();
private:
Type type;
- std::optional<Config> &config;
+ Config &config;
std::vector<AudioDevice> audio_devices;
GsrPage *content_page_ptr = nullptr;