Fix for taking screenshots

Update Ghoul version
This commit is contained in:
Alexander Bock
2018-09-17 14:57:40 -04:00
parent d7cb847dda
commit 9ac41c6586
4 changed files with 4 additions and 5 deletions

View File

@@ -309,11 +309,10 @@ void mainInitFunc() {
std::tm* nowTime = std::localtime(&now);
char mbstr[128];
strftime(mbstr, sizeof(mbstr), "%Y-%m-%d-%H-%M", nowTime);
screenshotPath += "/" + std::string(mbstr);
FileSys.registerPathToken(
"${SCREENSHOTS}",
absPath(screenshotPath),
absPath(screenshotPath + '/' + std::string(mbstr)),
ghoul::filesystem::FileSystem::Override::Yes
);
}

View File

@@ -219,7 +219,7 @@ void SyncHttpDownload::download(HttpRequest::RequestOptions opt) {
});
_httpRequest.perform(opt);
deinitDownload();
LTRACE(fmt::format("End sync download '{}'", _httpRequest.url()));
}