Changed: Try to load config file everytime, see #279

--HG--
branch : develop
This commit is contained in:
kervala 2016-08-14 13:28:50 +02:00
parent bb58710623
commit 78efe0a895

View file

@ -49,7 +49,12 @@ CConfigFile::~CConfigFile()
bool CConfigFile::load() bool CConfigFile::load()
{ {
// load default values // load default values
return load(m_defaultConfigPath) || load(m_configPath); if (!load(m_defaultConfigPath)) return false;
// ignore return value, since we'll always have valid values
load(m_configPath);
return true;
} }
bool CConfigFile::load(const QString &filename) bool CConfigFile::load(const QString &filename)