mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 03:12:05 +02:00
commit
4775fd74b8
@ -147,7 +147,8 @@ void MoneroSettings::reset()
|
|||||||
{
|
{
|
||||||
if (this->m_initialized && this->m_settings && !this->m_changedProperties.isEmpty())
|
if (this->m_initialized && this->m_settings && !this->m_changedProperties.isEmpty())
|
||||||
this->store();
|
this->store();
|
||||||
delete this->m_settings;
|
if (this->m_settings)
|
||||||
|
delete this->m_settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoneroSettings::store()
|
void MoneroSettings::store()
|
||||||
|
@ -72,7 +72,7 @@ private:
|
|||||||
void store();
|
void store();
|
||||||
|
|
||||||
QHash<const char *, QVariant> m_changedProperties;
|
QHash<const char *, QVariant> m_changedProperties;
|
||||||
QSettings *m_settings;
|
QSettings *m_settings = NULL;
|
||||||
QString m_fileName = QString("");
|
QString m_fileName = QString("");
|
||||||
bool m_initialized = false;
|
bool m_initialized = false;
|
||||||
int m_timerId = 0;
|
int m_timerId = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user