plugin/cim: fix cache dir
This commit is contained in:
parent
4f60c07e05
commit
f8fa70fe0e
1 changed files with 3 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue