diff --git a/src/singletons/Paths.cpp b/src/singletons/Paths.cpp index 06c3caab6..ae6d55d19 100644 --- a/src/singletons/Paths.cpp +++ b/src/singletons/Paths.cpp @@ -44,7 +44,10 @@ QString Paths::cacheDirectory() QStringSetting cachePathSetting("/cache/path"); cachePathSetting.connect([](const auto &newPath, auto) { - QDir().mkpath(newPath); + if (!newPath.isEmpty()) + { + QDir().mkpath(newPath); + } }); return cachePathSetting;