mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt crash fix. Don't store Config::Info variable as a reference.
This commit is contained in:
@ -9,11 +9,7 @@
|
||||
#include "DolphinQt/Config/ConfigControls/ConfigControl.h"
|
||||
#include "DolphinQt/Config/ToolTipControls/ToolTipSpinBox.h"
|
||||
|
||||
namespace Config
|
||||
{
|
||||
template <typename T>
|
||||
class Info;
|
||||
}
|
||||
#include "Common/Config/ConfigInfo.h"
|
||||
|
||||
class ConfigInteger final : public ConfigControl<ToolTipSpinBox>
|
||||
{
|
||||
@ -29,7 +25,7 @@ protected:
|
||||
void OnConfigChanged() override;
|
||||
|
||||
private:
|
||||
const Config::Info<int>& m_setting;
|
||||
const Config::Info<int> m_setting;
|
||||
};
|
||||
|
||||
class ConfigIntegerLabel final : public QLabel
|
||||
|
Reference in New Issue
Block a user