supported format simple static list
This commit is contained in:
@@ -15,9 +15,8 @@ PathTraverser::~PathTraverser() {}
|
||||
|
||||
QStringList PathTraverser::getImageFormats() const {
|
||||
QStringList imageFormats;
|
||||
imageFormats << "*.jpg" << "*.JPG" << "*.jpeg" << "*.JPEG";
|
||||
imageFormats << "*.PNG" << "*.png";
|
||||
imageFormats << "*.tiff" << "*.TIFF" << "*.tif" << "*.TIF";
|
||||
for ( const QString& s : supportedFormats )
|
||||
imageFormats<<"*."+s<<"*."+s.toUpper();
|
||||
return imageFormats;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user