From f49a04ba39363ad3b406233085f33afe8776707b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 20 May 2019 21:09:32 -0400 Subject: yuzu/configuration/config: Make default hotkeys an internally-linked array in the cpp file Given the array is a private static array, we can just make it internally linked to hide it from external code. This also allows us to remove an inclusion within the header. --- src/yuzu/configuration/config.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/yuzu/configuration/config.h') diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h index b62a480ee..6b523ecdd 100644 --- a/src/yuzu/configuration/config.h +++ b/src/yuzu/configuration/config.h @@ -9,7 +9,6 @@ #include #include #include "core/settings.h" -#include "yuzu/ui_settings.h" class QSettings; @@ -82,8 +81,6 @@ private: void WriteSetting(const QString& name, const QVariant& value); void WriteSetting(const QString& name, const QVariant& value, const QVariant& default_value); - static const std::array default_hotkeys; - std::unique_ptr qt_config; std::string qt_config_loc; }; -- cgit v1.2.3