summaryrefslogtreecommitdiff
path: root/plugin/src
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 21:59:28 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 21:59:28 +1000
commitf8fa70fe0eb6245ef757fb3c6bf3624beb213308 (patch)
tree7fd76f8d934fdfd4ee6015c368dfed14db123a99 /plugin/src
parentplugin: create caching image manager (diff)
downloadcaelestia-shell-f8fa70fe0eb6245ef757fb3c6bf3624beb213308.tar.gz
caelestia-shell-f8fa70fe0eb6245ef757fb3c6bf3624beb213308.tar.bz2
caelestia-shell-f8fa70fe0eb6245ef757fb3c6bf3624beb213308.zip
plugin/cim: fix cache dir
Diffstat (limited to 'plugin/src')
-rw-r--r--plugin/src/Caelestia/cachingimagemanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/src/Caelestia/cachingimagemanager.cpp b/plugin/src/Caelestia/cachingimagemanager.cpp
index d557203..d549e8c 100644
--- a/plugin/src/Caelestia/cachingimagemanager.cpp
+++ b/plugin/src/Caelestia/cachingimagemanager.cpp
@@ -50,6 +50,9 @@ void CachingImageManager::setCacheDir(const QUrl& cacheDir) {
}
m_cacheDir = cacheDir;
+ if (!m_cacheDir.path().endsWith("/")) {
+ m_cacheDir.setPath(m_cacheDir.path() + "/");
+ }
emit cacheDirChanged();
}