mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-28 11:20:53 +00:00
Fixed: Delete ryzom_installer.ini when uninstalling Installer
This commit is contained in:
parent
db76b17612
commit
e60e5c0850
3 changed files with 9 additions and 0 deletions
|
@ -188,6 +188,11 @@ bool CConfigFile::save() const
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CConfigFile::remove()
|
||||||
|
{
|
||||||
|
return QFile::remove(m_configPath);
|
||||||
|
}
|
||||||
|
|
||||||
CConfigFile* CConfigFile::getInstance()
|
CConfigFile* CConfigFile::getInstance()
|
||||||
{
|
{
|
||||||
return s_instance;
|
return s_instance;
|
||||||
|
|
|
@ -38,6 +38,7 @@ public:
|
||||||
bool load();
|
bool load();
|
||||||
bool load(const QString &filename);
|
bool load(const QString &filename);
|
||||||
bool save() const;
|
bool save() const;
|
||||||
|
bool remove();
|
||||||
|
|
||||||
static CConfigFile* getInstance();
|
static CConfigFile* getInstance();
|
||||||
|
|
||||||
|
|
|
@ -1179,6 +1179,9 @@ void COperationDialog::deleteComponentsInstaller()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// delete configuration file
|
||||||
|
config->remove();
|
||||||
|
|
||||||
// reset it once it's done
|
// reset it once it's done
|
||||||
m_removeComponents.installer = false;
|
m_removeComponents.installer = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue