Fix ubuntu build

This commit is contained in:
reionwong 2021-09-01 21:37:22 +08:00
parent a3017da2db
commit 680b1428a1

View file

@ -373,7 +373,7 @@ QStringList FolderModel::filterMimeTypes() const
void FolderModel::setFilterMimeTypes(const QStringList &mimeList)
{
const QSet<QString> set(mimeList.constBegin(), mimeList.constEnd());
QSet<QString> set(mimeList.begin(), mimeList.end());
if (m_mimeSet != set) {
m_mimeSet = set;