Fix downloadmanager on Mac

This commit is contained in:
Alexander Bock
2015-07-06 15:16:02 +02:00
parent f60dfac1cf
commit 0345cb2d28
+1 -1
View File
@@ -226,7 +226,7 @@ std::vector<DownloadManager::FileFuture*> DownloadManager::downloadRequestFiles(
int nFinished = 0;
while (std::getline(temporary, line)) {
++nFiles;
std::string file = ghoul::filesystem::File(line).filename();
std::string file = ghoul::filesystem::File(line, true).filename();
LDEBUG("\tLine: " << line << " ; Dest: " << destination.path() + "/" + file);