summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2013-11-13 14:05:18 +0100
committerMarco Bubke <marco.bubke@digia.com>2013-11-13 14:37:47 +0100
commitc9731152acf679e529656c28d6d2138a386febc5 (patch)
treeb686fed5efaff397ee06876c7309d343623dd441
parentdc8c4f44c5503d380d688fbc42703acdd8298551 (diff)
downloadqt-creator-c9731152acf679e529656c28d6d2138a386febc5.tar.gz
QmlDesigner: fix compare operator for the TokenCommand
Change-Id: I17ef1a06e94a5a89ffbe3f03103a473b803902f9 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
-rw-r--r--share/qtcreator/qml/qmlpuppet/commands/tokencommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/commands/tokencommand.cpp b/share/qtcreator/qml/qmlpuppet/commands/tokencommand.cpp
index de8ce77e7e..3637f325cd 100644
--- a/share/qtcreator/qml/qmlpuppet/commands/tokencommand.cpp
+++ b/share/qtcreator/qml/qmlpuppet/commands/tokencommand.cpp
@@ -85,7 +85,7 @@ QDataStream &operator>>(QDataStream &in, TokenCommand &command)
bool operator ==(const TokenCommand &first, const TokenCommand &second)
{
- return first.m_tokenNumber == second.m_tokenNumber
+ return first.m_tokenName == second.m_tokenName
&& first.m_tokenNumber == second.m_tokenNumber
&& first.m_instanceIdVector == second.m_instanceIdVector;
}