mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Fixed: Clear m_srcDirectory if directory doesn't exist anymore
--HG-- branch : develop
This commit is contained in:
parent
e9ba12b931
commit
0b99222330
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ bool CConfigFile::load(const QString &filename)
|
|||
m_use64BitsClient = settings.value("use_64bits_client", true).toBool();
|
||||
m_shouldUninstallOldClient = settings.value("should_uninstall_old_client", true).toBool();
|
||||
|
||||
// fix problems when src directory doesn't exist anymore
|
||||
if (!m_srcDirectory.isEmpty() && QFile::exists(m_srcDirectory)) m_srcDirectory.clear();
|
||||
|
||||
if (!useDefaultValues)
|
||||
{
|
||||
#if defined(Q_OS_WIN)
|
||||
|
|
Loading…
Reference in a new issue