mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Qt: Backup current gui config before applying another one
Also fixes some strange issues caused by the pointer
This commit is contained in:
parent
53676067fc
commit
5f247cbedc
6 changed files with 50 additions and 58 deletions
|
|
@ -3,7 +3,7 @@
|
|||
persistent_settings::persistent_settings(QObject* parent) : settings(parent)
|
||||
{
|
||||
// Don't use the .ini file ending for now, as it will be confused for a regular gui_settings file.
|
||||
m_settings = new QSettings(ComputeSettingsDir() + gui::persistent::persistent_file_name + ".dat", QSettings::Format::IniFormat, parent);
|
||||
m_settings.reset(new QSettings(ComputeSettingsDir() + gui::persistent::persistent_file_name + ".dat", QSettings::Format::IniFormat, parent));
|
||||
}
|
||||
|
||||
void persistent_settings::SetPlaytime(const QString& serial, const qint64& elapsed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue