Commit 80b5d05b authored by Michael Georg Hansen's avatar Michael Georg Hansen
Browse files

Apply patch by Menopia to fix wishlist bug 283416.

Sort the list of supported MIME-types by alphabet.

FEATURE: 283416
parent a547eb90
......@@ -104,4 +104,5 @@ BUGFIXES FROM KDE BUGZILLA (alias B.K.O | http://bugs.kde.org):
094 ==> 284394 : Crashed while open Sidebar "Mapsearch".
095 ==> 289835 : The face group widget is not displayed when reentering the ImagePreviewView.
096 ==> 158533 : Be able to see not only "image2 files but any that are there in an album.
097 ==>
097 ==> 283416 : Configuration/MIME Types: List of supported types is in random order [patch].
098 ==>
......@@ -903,6 +903,7 @@ static QStringList joinMainAndUserFilterString(const QString& filter, const QStr
{
QSet<QString> filterSet;
QStringList userFilterList;
QStringList sortedList;
filterSet = filter.split(';', QString::SkipEmptyParts).toSet();
userFilterList = userFilter.split(';', QString::SkipEmptyParts);
......@@ -917,7 +918,10 @@ static QStringList joinMainAndUserFilterString(const QString& filter, const QStr
filterSet << userFormat;
}
}
return filterSet.toList();
sortedList = filterSet.toList();
sortedList.sort();
return sortedList;
}
void AlbumDB::getFilterSettings(QStringList* imageFilter, QStringList* videoFilter, QStringList* audioFilter)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment