View Issue Details

IDProjectCategoryView StatusLast Update
0008865ScribusImport / Exportpublic2010-02-23 21:05
Reporterarvee Assigned Tofschmid  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.5.0svn 
Summary0008865: PATCH ps import plugin does not register PS and PDF filetypes properly
Descriptionwrong variable used to register PS and PDF file extensions.
TagsNo tags attached.
Patch

Activities

2010-02-22 10:25

 

scribus-patch-2010-02-22.diff (1,247 bytes)   
Index: importpsplugin.cpp
===================================================================
--- importpsplugin.cpp	(revision 14791)
+++ importpsplugin.cpp	(working copy)
@@ -107,7 +107,7 @@
 	fmt2.formatId = FORMATID_PSIMPORT;
 	fmt2.filter = FormatsManager::instance()->extensionsForFormat(FormatsManager::PS);// QFileDialog filter
  	fmt2.nameMatch = QRegExp("\\.("+FormatsManager::instance()->extensionListForFormat(FormatsManager::PS, 1)+")$", Qt::CaseInsensitive);
-	fmt.fileExtensions = QStringList() << "ps";
+	fmt2.fileExtensions = QStringList() << "ps";
 	fmt2.load = true;
 	fmt2.save = false;
 	fmt2.mimeTypes = FormatsManager::instance()->mimetypeOfFormat(FormatsManager::PS); // MIME types
@@ -119,7 +119,7 @@
 	fmt3.formatId = FORMATID_PDFIMPORT;
 	fmt3.filter = FormatsManager::instance()->extensionsForFormat(FormatsManager::PDF);// QFileDialog filter
 	fmt3.nameMatch = QRegExp("\\."+FormatsManager::instance()->extensionListForFormat(FormatsManager::PDF, 1)+"$", Qt::CaseInsensitive);
-	fmt.fileExtensions = QStringList() << "pdf";
+	fmt3.fileExtensions = QStringList() << "pdf";
 	fmt3.load = true;
 	fmt3.save = false;
 	fmt3.mimeTypes = FormatsManager::instance()->mimetypeOfFormat(FormatsManager::PDF); // MIME types
scribus-patch-2010-02-22.diff (1,247 bytes)   

Issue History

Date Modified Username Field Change
2010-02-22 10:25 arvee New Issue
2010-02-22 10:25 arvee File Added: scribus-patch-2010-02-22.diff
2010-02-22 16:45 fschmid Status new => resolved
2010-02-22 16:45 fschmid Fixed in Version => 1.5.0svn
2010-02-22 16:45 fschmid Resolution open => fixed
2010-02-22 16:45 fschmid Assigned To => fschmid
2010-02-23 21:05 cbradney Status resolved => closed