r14160 by fschmid - Fixed the issue that sometimes the filedialog didn't display any files when selecting a filter.

scribus-commit scribus-commit at lists.scribus.net
Fri Oct 16 19:50:16 CEST 2009


Revision: 14160
Author: fschmid
Date: 2009-10-16T15:56:55.190583Z
Commit message: Fixed the issue that sometimes the filedialog didn't display any files when selecting a filter.

Changeset: 
M  /trunk/Scribus/scribus/util_formats.cpp

Diffs:
Index: scribus/util_formats.cpp
===================================================================
--- scribus/util_formats.cpp	(revision 14159)
+++ scribus/util_formats.cpp	(revision 14160)
@@ -38,19 +38,19 @@
 	m_fmts.insert(FormatsManager::UNICONV, QStringList() << "cdr" << "cdt" << "ccx" << "cmx" << "cgm" << "aff" << "sk" << "sk1");
 	m_fmts.insert(FormatsManager::PCT,  QStringList() << "pct" << "pic" << "pict");
 	
-	m_fmtNames[FormatsManager::EPS]  = QObject::tr("Encapsulated PostScript (eps)");
+	m_fmtNames[FormatsManager::EPS]  = QObject::tr("Encapsulated PostScript \"*.eps\"");
 	m_fmtNames[FormatsManager::GIF]  = QObject::tr("GIF");
 	m_fmtNames[FormatsManager::JPEG] = QObject::tr("JPEG");
 	m_fmtNames[FormatsManager::PAT]  = QObject::tr("Pattern Files");
 	m_fmtNames[FormatsManager::PDF]  = QObject::tr("PDF Document");
 	m_fmtNames[FormatsManager::PNG]  = QObject::tr("PNG");
-	m_fmtNames[FormatsManager::PS]   = QObject::tr("PostScript (ps)");
-	m_fmtNames[FormatsManager::PSD]  = QObject::tr("Adobe Photoshop (psd)");
+	m_fmtNames[FormatsManager::PS]   = QObject::tr("PostScript \"*.ps\"");
+	m_fmtNames[FormatsManager::PSD]  = QObject::tr("Adobe Photoshop \"*.psd\"");
 	m_fmtNames[FormatsManager::TIFF] = QObject::tr("TIFF");
 	m_fmtNames[FormatsManager::XPM]  = QObject::tr("XPM");
-	m_fmtNames[FormatsManager::WMF]  = QObject::tr("Windows Meta File (wmf)");
-	m_fmtNames[FormatsManager::SVG]  = QObject::tr("Scalable Vector Graphics (svg)");
-	m_fmtNames[FormatsManager::AI]   = QObject::tr("Adobe Illustrator (ai)");
+	m_fmtNames[FormatsManager::WMF]  = QObject::tr("Windows Meta File \"*.wmf\"");
+	m_fmtNames[FormatsManager::SVG]  = QObject::tr("Scalable Vector Graphics \"*.svg\"");
+	m_fmtNames[FormatsManager::AI]   = QObject::tr("Adobe Illustrator \"*.ai\"");
 	m_fmtNames[FormatsManager::XFIG] = QObject::tr("Xfig File");
 	m_fmtNames[FormatsManager::CVG]  = QObject::tr("Calamus Cvg File");
 	m_fmtNames[FormatsManager::WPG]  = QObject::tr("Word Perfect Wpg File");




More information about the scribus-commit mailing list