MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Load

Method Load

Src/Parameter.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35int CParameter::Load(QString szFile)
36{
37 if(szFile.isEmpty())
38 szFile = RabbitCommon::CDir::Instance()->GetFileUserConfigure();
39 qDebug(log) << "Load configure file:" << szFile;
40 if(szFile.isEmpty()) return -1;
41 QSettings set(szFile, QSettings::IniFormat);
42 int nRet = Load(set);
43 SetModified(false);
44 return nRet;
45}
46
47int CParameter::Save(QString szFile, bool bForce)
48{

Callers 1

foreachFunction · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected