r14038 by fschmid - Add more file extensions for vector files.

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 25 20:45:18 CEST 2009


Revision: 14038
Author: fschmid
Date: 2009-09-25T18:44:14.254783Z
Commit message: Add more file extensions for vector files.

Changeset: 
M  /trunk/Scribus/scribus/ui/customfdialog.cpp

Diffs:
Index: scribus/ui/customfdialog.cpp
===================================================================
--- scribus/ui/customfdialog.cpp	(revision 14037)
+++ scribus/ui/customfdialog.cpp	(revision 14038)
@@ -97,7 +97,8 @@
 			return oosxdpm;
 		else if (ext.endsWith("sxw", Qt::CaseInsensitive))
 			return oosxwpm;
-		else if (ext.endsWith("svg", Qt::CaseInsensitive) || ext.endsWith("svgz", Qt::CaseInsensitive))
+		else if (ext.endsWith("svg") || ext.endsWith("svgz") || ext.endsWith("cvg") || ext.endsWith("wpg") || ext.endsWith("fig")
+				 || ext.endsWith("ai") || ext.endsWith("wmf") || ext.endsWith("pct") || ext.endsWith("pict") || ext.endsWith("pic"))
 			return vectorpm;
 		else
 			return QFileIconProvider::icon(fi);




More information about the scribus-commit mailing list