| 297 | } |
| 298 | |
| 299 | bool Module::interesting() const |
| 300 | { |
| 301 | static const auto windir = []() -> QString { |
| 302 | try { |
| 303 | return QDir::toNativeSeparators(MOBase::getKnownFolder(FOLDERID_Windows).path()) + |
| 304 | "\\"; |
| 305 | } catch (...) { |
| 306 | return "c:\\windows\\"; |
| 307 | } |
| 308 | }(); |
| 309 | |
| 310 | if (m_path.startsWith(windir, Qt::CaseInsensitive)) { |
| 311 | return false; |
| 312 | } |
| 313 | |
| 314 | return true; |
| 315 | } |
| 316 | |
| 317 | QString Module::getMD5() const |
| 318 | { |