View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008865 | Scribus | Import / Export | public | 2010-02-22 10:25 | 2010-02-23 21:05 |
Reporter | arvee | Assigned To | fschmid | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.5.0svn | ||||
Summary | 0008865: PATCH ps import plugin does not register PS and PDF filetypes properly | ||||
Description | wrong variable used to register PS and PDF file extensions. | ||||
Tags | No tags attached. | ||||
Patch | |||||
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 |
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 |