| 227 | } |
| 228 | |
| 229 | void 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 | |
| 245 | int CFrmManagePlugins::SetFilterHeader() |
| 246 | { |
nothing calls this directly
no test coverage detected