blob: 1775f4b7d3202fbdb4917ff1e2652da15a2d7237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -p -up moodin/src/cache.cpp.orig moodin/src/cache.cpp
--- moodin/src/cache.cpp.orig 2008-02-28 11:50:22.000000000 -0300
+++ moodin/src/cache.cpp 2008-02-28 11:50:30.000000000 -0300
@@ -41,7 +41,7 @@ QImage* Cache::cacheFile(const QString&
QStringList parts = QStringList::split("/", file);
QFile cachedFile(mCacheDir.filePath(parts.last()));
- if (!mScaler->resolutionDiff())
+ if (!mScaler->resolutionDiff() && !file.endsWith(".svg") && !file.endsWith(".svgz"))
return new QImage(file);
else if (isInSync(parts.last()) && cachedFile.exists())
return new QImage(cachedFile.name());
|