mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Backport QList::fromSet() deprecation warning
This commit is contained in:
parent
1a9bdb4452
commit
1a3f150632
@ -336,7 +336,11 @@ QStringList texFileList(QString const & filename)
|
||||
}
|
||||
|
||||
// remove duplicates
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
|
||||
return QList<QString>(set.begin(), set.end());
|
||||
#else
|
||||
return QList<QString>::fromSet(set);
|
||||
#endif
|
||||
}
|
||||
|
||||
QString const externalLineEnding(docstring const & str)
|
||||
|
Loading…
Reference in New Issue
Block a user