Fixed: Wrong checks, see #279

--HG--
branch : develop
This commit is contained in:
kervala 2016-07-27 12:42:24 +02:00
parent ac381ea055
commit 7d06821c96

View file

@ -165,9 +165,7 @@ CConfigFile::~CConfigFile()
bool CConfigFile::load()
{
// load default values
load(m_defaultConfigPath);
return load(m_configPath);
return load(m_defaultConfigPath) || load(m_configPath);
}
bool CConfigFile::load(const QString &filename)