From 680b1428a1bbb0c502a67ba298638f933152c0e8 Mon Sep 17 00:00:00 2001 From: reionwong Date: Wed, 1 Sep 2021 21:37:22 +0800 Subject: [PATCH] Fix ubuntu build --- model/foldermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;