diff --git a/svg.cpp b/svg.cpp index 9ed11c439..e265de517 100644 --- a/svg.cpp +++ b/svg.cpp @@ -607,7 +607,7 @@ void SvgPrivate::themeChanged() checkColorHints(); } - QString currentPath = themePath; + QString currentPath = themed ? themePath : path; themePath.clear(); eraseRenderer(); setImagePath(currentPath);