| 156 | } |
| 157 | |
| 158 | QString getLevelDatFromFS(const QFileInfo& file) |
| 159 | { |
| 160 | QDir worldDir(file.filePath()); |
| 161 | if (!file.isDir() || !worldDir.exists("level.dat")) { |
| 162 | return QString(); |
| 163 | } |
| 164 | return worldDir.absoluteFilePath("level.dat"); |
| 165 | } |
| 166 | |
| 167 | QByteArray getLevelDatDataFromFS(const QFileInfo& file) |
| 168 | { |
no test coverage detected