(Windows) Fixed a compiler error

This commit is contained in:
Leon Styhre 2023-08-14 19:39:26 +02:00
parent e8db2a196f
commit 7cef859a77

View file

@ -1159,7 +1159,7 @@ bool GuiThemeDownloader::input(InputConfig* config, Input input)
const std::filesystem::path themeDirectory {
mThemeDirectory + mThemeSets[mList->getCursorId()].reponame};
LOG(LogInfo) << "Deleting theme directory \"" << themeDirectory.string() << "\"";
if (!Utils::FileSystem::removeDirectory(themeDirectory, true)) {
if (!Utils::FileSystem::removeDirectory(themeDirectory.string(), true)) {
mWindow->pushGui(new GuiMsgBox(
getHelpStyle(), "COULDN'T DELETE THEME, PERMISSION PROBLEMS?", "OK",
[] { return; }, "", nullptr, "", nullptr, true));