diff --git a/model/foldermodel.cpp b/model/foldermodel.cpp index fd4743e..74e6ff3 100644 --- a/model/foldermodel.cpp +++ b/model/foldermodel.cpp @@ -373,7 +373,7 @@ QStringList FolderModel::filterMimeTypes() const void FolderModel::setFilterMimeTypes(const QStringList &mimeList) { - const QSet set(mimeList.constBegin(), mimeList.constEnd()); + QSet set(mimeList.begin(), mimeList.end()); if (m_mimeSet != set) { m_mimeSet = set;