mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fixed: Wrong checks, see #279
This commit is contained in:
parent
a115f89ed2
commit
03107010d5
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue