forked from qt-creator/qt-creator
Drop Qt5: ClassView: Remove code below Qt 6.0.0
Change-Id: I067d37c7917eebf1d4d478be386dccf3474cd47f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -51,11 +51,7 @@ SymbolInformation::SymbolInformation() :
|
||||
SymbolInformation::SymbolInformation(const QString &valueName, const QString &valueType,
|
||||
int valueIconType)
|
||||
: m_iconType(valueIconType)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
, m_hash(qHashMulti(0, valueIconType, valueName, valueType))
|
||||
#else
|
||||
, m_hash(qHash(qMakePair(valueIconType, qMakePair(valueName, valueType))))
|
||||
#endif
|
||||
, m_name(valueName)
|
||||
, m_type(valueType)
|
||||
{
|
||||
|
||||
@@ -49,11 +49,7 @@ SymbolLocation::SymbolLocation(const QString &file, int lineNumber, int columnNu
|
||||
: m_fileName(file)
|
||||
, m_line(lineNumber)
|
||||
, m_column(qMax(columnNumber, 0))
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
, m_hash(qHashMulti(0, m_fileName, m_line, m_column))
|
||||
#else
|
||||
, m_hash(qHash(qMakePair(m_fileName, qMakePair(m_line, m_column))))
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user