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
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <QSharedMemory>
|
||||
#include <QCache>
|
||||
#include <QDebug>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
@@ -152,4 +153,11 @@ bool operator ==(const ValuesChangedCommand &first, const ValuesChangedCommand &
|
||||
return first.m_valueChangeVector == second.m_valueChangeVector;
|
||||
}
|
||||
|
||||
QDebug operator <<(QDebug debug, const ValuesChangedCommand &command)
|
||||
{
|
||||
return debug.nospace() << "ValuesChangedCommand("
|
||||
<< "keyNumber: " << command.keyNumber() << ", "
|
||||
<< command.valueChanges() << ")";
|
||||
}
|
||||
|
||||
} // namespace QmlDesigner
|
||||
|
||||
Reference in New Issue
Block a user