forked from qt-creator/qt-creator
QmlPuppet: Fall back to pre-Qt5.2 for QVariant comparison
Change-Id: Ibf55561e01f50ec7d689d40b50d100b8d257aa80 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -105,7 +105,7 @@ bool operator ==(const InformationContainer &first, const InformationContainer &
|
||||
&& first.m_thirdInformation == second.m_thirdInformation;
|
||||
}
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0)
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0) || QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
static bool operator <(const QVariant &first, const QVariant &second)
|
||||
{
|
||||
if (first.userType() == second.userType()) {
|
||||
|
Reference in New Issue
Block a user