diff --git a/src/shared/proparser/proitems.h b/src/shared/proparser/proitems.h index fd48bb4eb00..7aa893a0a83 100644 --- a/src/shared/proparser/proitems.h +++ b/src/shared/proparser/proitems.h @@ -80,10 +80,10 @@ public: ProString &append(const ProStringList &other, bool *pending = 0, bool skipEmpty1st = false); bool operator==(const ProString &other) const { return toQStringRef() == other.toQStringRef(); } bool operator==(const QString &other) const { return toQStringRef() == other; } - bool operator==(const QLatin1String &other) const { return toQStringRef() == other; } + bool operator==(QLatin1String other) const { return toQStringRef() == other; } bool operator!=(const ProString &other) const { return !(*this == other); } bool operator!=(const QString &other) const { return !(*this == other); } - bool operator!=(const QLatin1String &other) const { return !(*this == other); } + bool operator!=(QLatin1String other) const { return !(*this == other); } bool isNull() const { return m_string.isNull(); } bool isEmpty() const { return !m_length; } int size() const { return m_length; }