mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 02:55:45 +00:00
yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
Same behavior, less code.
This commit is contained in:
parent
6082c55e30
commit
add5a47fd9
2 changed files with 8 additions and 8 deletions
|
@ -5,6 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <QVariant>
|
||||
#include "core/settings.h"
|
||||
|
@ -26,6 +27,6 @@ private:
|
|||
void ReadValues();
|
||||
void SaveValues();
|
||||
|
||||
QSettings* qt_config;
|
||||
std::unique_ptr<QSettings> qt_config;
|
||||
std::string qt_config_loc;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue