forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user