r14196 by cbradney - Allow only xml and gpl files to be loaded by the colour manager so we dont try to load the license files
scribus-commit
scribus-commit at lists.scribus.net
Mon Oct 19 22:40:33 CEST 2009
Revision: 14196
Author: cbradney
Date: 2009-10-19T18:06:52.941099Z
Commit message: Allow only xml and gpl files to be loaded by the colour manager so we dont try to load the license files
Changeset:
M /branches/Version135/Scribus/scribus/colorsetmanager.cpp
Diffs:
Index: scribus/colorsetmanager.cpp
===================================================================
--- scribus/colorsetmanager.cpp (revision 14195)
+++ scribus/colorsetmanager.cpp (revision 14196)
@@ -129,7 +129,7 @@
for ( QStringList::Iterator it = paletteLocations.begin(); it != paletteLocations.end(); ++it )
{
path=(*it);
- QDir dir(path , "*", QDir::Name, QDir::Files | QDir::NoSymLinks);
+ QDir dir(path , "*.xml *.gpl", QDir::Name, QDir::Files | QDir::NoSymLinks);
if (dir.exists() && (dir.count() != 0))
for (uint i = 0; i < dir.count(); ++i)
{
More information about the scribus-commit
mailing list