Qt crash fix. Don't store Config::Info variable as a reference.

This commit is contained in:
TryTwo
2024-12-23 14:54:26 -07:00
parent c528a70e64
commit 27ac5fa777
6 changed files with 12 additions and 36 deletions

View File

@ -6,11 +6,7 @@
#include "DolphinQt/Config/ConfigControls/ConfigControl.h"
#include "DolphinQt/Config/ToolTipControls/ToolTipCheckBox.h"
namespace Config
{
template <typename T>
class Info;
}
#include "Common/Config/ConfigInfo.h"
class ConfigBool final : public ConfigControl<ToolTipCheckBox>
{
@ -26,6 +22,6 @@ protected:
private:
void Update();
const Config::Info<bool>& m_setting;
const Config::Info<bool> m_setting;
bool m_reverse;
};