mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Qt: set min version to 5.14
This commit is contained in:
parent
d3abff5486
commit
5d82b0f4c4
4 changed files with 4 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue