Previewing of some (most) svg files does not work anymore even if Inkscape
and the converters has been set correctly. This is because Qt claims to be
able to load svg files natively. However, Qt does a bad job doing that.
Therefore, I want to use my configured converter. How can I do that ?

I now applied the attached patch, but it might not be everyone's choice.

Vincent
diff --git a/src/graphics/GraphicsCache.cpp b/src/graphics/GraphicsCache.cpp
index d508563..56d4322 100644
--- a/src/graphics/GraphicsCache.cpp
+++ b/src/graphics/GraphicsCache.cpp
@@ -79,6 +79,8 @@ vector<string> const & Cache::loadableFormats() const
 	
 	vector<string>::const_iterator it = nformat.begin();
 	for (; it != nformat.end(); ++it) {
+        if (*it == "svg" || *it == "svgz")
+            continue;
 		for (Formats::const_iterator fit = begin; fit != end; ++fit) {
 			if (fit->extension() == *it) {
 				fmts.push_back(fit->name());

Reply via email to