From 82f30716d8f9ba7d3480fcc431834a5cc5e8d92d Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 13 Nov 2013 13:27:59 +0100 Subject: [PATCH] QmlDesigner: fix compare operator in DebugOutputCommand Change-Id: I69d495cd61585123df99631d92f6c26b114d49b7 Reviewed-by: Marco Bubke --- share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.cpp b/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.cpp index 2d4077744b1..a4571edd3b9 100644 --- a/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.cpp +++ b/share/qtcreator/qml/qmlpuppet/commands/debugoutputcommand.cpp @@ -73,7 +73,7 @@ QDataStream &operator>>(QDataStream &in, DebugOutputCommand &command) bool operator ==(const DebugOutputCommand &first, const DebugOutputCommand &second) { return first.m_type == second.m_type - && second.m_text == second.m_text; + && first.m_text == second.m_text; } QDebug operator <<(QDebug debug, const DebugOutputCommand &command)