mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Fixed: Clear m_srcDirectory if directory doesn't exist anymore
This commit is contained in:
parent
7848db5d72
commit
6da250ef02
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