Commit 6e81bedf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile without deorecated method

parent 3ac6c4b9
......@@ -84,7 +84,7 @@ QString IconThemesModel::findFilesRecursively(const QStringList& wildcard, const
}
QStringList subdirs = directory.entryList(QDir::AllDirs|QDir::NoDotAndDotDot);
qSort(subdirs.begin(), subdirs.end(), greatSizeIs48);
std::sort(subdirs.begin(), subdirs.end(), greatSizeIs48);
foreach(const QString& subdir, subdirs) {
QString ret = findFilesRecursively(wildcard, QDir(directory.filePath(subdir)));
if(!ret.isEmpty())
......
Markdown is supported
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