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

Method on_gbPluginsPath_clicked

Src/FrmManagePlugins.cpp:229–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void CFrmManagePlugins::on_gbPluginsPath_clicked(bool checked)
230{
231 m_pModelPluginPath->clear();
232 m_pModelFilter->clear();
233 SetFilterHeader();
234
235 QStringList lstPaths;
236 if(checked)
237 lstPaths = m_pPara->GetPluginsPath();
238 else
239 lstPaths << RabbitCommon::CDir::Instance()->GetDirPlugins();
240 foreach(auto szPath, lstPaths) {
241 AddPath(szPath);
242 }
243}
244
245int CFrmManagePlugins::SetFilterHeader()
246{

Callers

nothing calls this directly

Calls 1

GetPluginsPathMethod · 0.80

Tested by

no test coverage detected