]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/qt_helpers.cpp
Remove obsolete (and false) comment.
[lyx.git] / src / frontends / qt / qt_helpers.cpp
index 0311b8b25f45e6f0a8b1852fe14f6553615e12e8..f8cb24717915725d29d091b773cc9bd08904d241 100644 (file)
@@ -335,8 +335,12 @@ QStringList texFileList(QString const & filename)
                        set.insert(qfile);
        }
 
-       // remove duplicates
-       return QList<QString>::fromSet(set);
+        // 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)