forked from qt-creator/qt-creator
QmlDesigner: Add qdebugs for commands
Change-Id: I60bdd5b36749be5092d4dabe486b101d62b3df06 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
8f22b84016
commit
0ba2b9b37d
@@ -30,6 +30,7 @@
|
||||
#include "informationchangedcommand.h"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QtDebug>
|
||||
|
||||
#include "propertyvaluecontainer.h"
|
||||
|
||||
@@ -73,4 +74,10 @@ bool operator ==(const InformationChangedCommand &first, const InformationChange
|
||||
return first.m_informationVector == second.m_informationVector;
|
||||
}
|
||||
|
||||
QDebug operator <<(QDebug debug, const InformationChangedCommand &command)
|
||||
{
|
||||
return debug.nospace() << "InformationChangedCommand(" << command.informations() << ")";
|
||||
}
|
||||
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Reference in New Issue
Block a user