Fixed: Clear m_srcDirectory if directory doesn't exist anymore
This commit is contained in:
parent
bfccba236f
commit
3c52626be2
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_use64BitsClient = settings.value("use_64bits_client", true).toBool();
|
||||||
m_shouldUninstallOldClient = settings.value("should_uninstall_old_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 (!useDefaultValues)
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
|
|
Loading…
Reference in a new issue