| 16 | } |
| 17 | |
| 18 | QUuid readFromLibraryFolder(const QString &path) |
| 19 | { |
| 20 | QFile file(LibraryPaths::idPath(path)); |
| 21 | if (file.open(QIODevice::ReadOnly | QIODevice::Text)) { |
| 22 | QTextStream stream(&file); |
| 23 | QString id = stream.readLine(); |
| 24 | file.close(); |
| 25 | return QUuid(id); |
| 26 | } |
| 27 | |
| 28 | return QUuid(); |
| 29 | } |
| 30 | |
| 31 | YACReaderLibraries::YACReaderLibraries() |
| 32 | : QObject() |
no test coverage detected