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

Method LoadSettings

Src/Manager.cpp:530–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530int CManager::LoadSettings(const QString szFile)
531{
532 if(!m_pParameterPlugin) {
533 qCritical(log) << "The m_pParameter is nullptr";
534 Q_ASSERT_X(m_pParameterPlugin, "CManager", "The m_pParameter is nullptr");
535 return -1;
536 }
537
538 QString s = szFile;
539 if(s.isEmpty())
540 s = m_szSettingsFile;
541 return m_pParameterPlugin->Load(s);
542}
543
544int CManager::SaveSettings(const QString szFile)
545{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected