| 1523 | } |
| 1524 | |
| 1525 | std::vector<QString> OrganizerCore::enabledArchives() |
| 1526 | { |
| 1527 | std::vector<QString> result; |
| 1528 | if (settings().archiveParsing()) { |
| 1529 | QFile archiveFile(m_CurrentProfile->getArchivesFileName()); |
| 1530 | if (archiveFile.open(QIODevice::ReadOnly)) { |
| 1531 | while (!archiveFile.atEnd()) { |
| 1532 | result.push_back(QString::fromUtf8(archiveFile.readLine()).trimmed()); |
| 1533 | } |
| 1534 | archiveFile.close(); |
| 1535 | } |
| 1536 | } |
| 1537 | return result; |
| 1538 | } |
| 1539 | |
| 1540 | void OrganizerCore::refreshDirectoryStructure() |
| 1541 | { |
nothing calls this directly
no test coverage detected