Qt: set min version to 5.14

This commit is contained in:
Megamouse 2020-02-10 10:57:35 +01:00 committed by Ivan
parent d3abff5486
commit 5d82b0f4c4
4 changed files with 4 additions and 25 deletions

View file

@ -16,11 +16,7 @@ namespace gui
template<typename T>
static QSet<T> list_to_set(const QList<T>& list)
{
#if QT_VERSION >= QT_VERSION_CHECK(5,14,0)
return QSet<T>(list.begin(), list.end());
#else
return QSet<T>::fromList(list);
#endif
}
// Creates a frame geometry rectangle with given width height that's centered inside the origin,