Drop Qt5: Utils: Remove code below Qt 6.0.0

Change-Id: I6557238ceccc11c2d1fd8168f1e578fd27a1ee95
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-07-22 18:01:00 +02:00
parent 041ff11aae
commit 165fefffe8
4 changed files with 4 additions and 36 deletions

View File

@@ -1296,14 +1296,6 @@ QSet<T> toSet(const QList<T> &list)
return QSet<T>(list.begin(), list.end());
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
template<class T>
QSet<T> toSet(const QVector<T> &vec)
{
return QSet<T>(vec.begin(), vec.end());
}
#endif
template<class T>
QList<T> toList(const QSet<T> &set)
{