diff options
author | bunnei <bunneidev@gmail.com> | 2017-06-28 04:46:52 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-07-10 06:15:39 +0200 |
commit | 8abf808854e92af5f656744d582fbc7830eb68e2 (patch) | |
tree | 6dccb43e9db5ff0d3d1037a2b5c0a545d3fb7e54 /src/citra_qt/configuration | |
parent | logging: Add WebService as a log cateogry. (diff) | |
download | yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.tar yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.tar.gz yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.tar.bz2 yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.tar.lz yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.tar.xz yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.tar.zst yuzu-8abf808854e92af5f656744d582fbc7830eb68e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/configuration/config.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp index 64ffc9152..40142b6d9 100644 --- a/src/citra_qt/configuration/config.cpp +++ b/src/citra_qt/configuration/config.cpp @@ -133,6 +133,13 @@ void Config::ReadValues() { Settings::values.gdbstub_port = qt_config->value("gdbstub_port", 24689).toInt(); qt_config->endGroup(); + qt_config->beginGroup("WebService"); + Settings::values.telemetry_endpoint_url = + qt_config->value("telemetry_endpoint_url", "https://services.citra-emu.org/api/telemetry") + .toString() + .toStdString(); + qt_config->endGroup(); + qt_config->beginGroup("UI"); qt_config->beginGroup("UILayout"); @@ -268,6 +275,11 @@ void Config::SaveValues() { qt_config->setValue("gdbstub_port", Settings::values.gdbstub_port); qt_config->endGroup(); + qt_config->beginGroup("WebService"); + qt_config->setValue("telemetry_endpoint_url", + QString::fromStdString(Settings::values.telemetry_endpoint_url)); + qt_config->endGroup(); + qt_config->beginGroup("UI"); qt_config->beginGroup("UILayout"); |