forked from qt-creator/qt-creator
Core: Use Id in Context instead of plain int.
Change-Id: Iaa8e48459fb19b7d3b8821d0374925d0c6a7e0cc Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -466,12 +466,12 @@ ActionManagerPrivate::~ActionManagerPrivate()
|
||||
qDeleteAll(m_idCmdMap.values());
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug in, const Context &context)
|
||||
QDebug operator<<(QDebug d, const Context &context)
|
||||
{
|
||||
in << "CONTEXT: ";
|
||||
foreach (int c, context)
|
||||
in << " " << c << Id::fromUniqueIdentifier(c).toString();
|
||||
return in;
|
||||
d << "CONTEXT: ";
|
||||
foreach (Id id, context)
|
||||
d << " " << id.uniqueIdentifier() << " " << id.toString();
|
||||
return d;
|
||||
}
|
||||
|
||||
void ActionManagerPrivate::setContext(const Context &context)
|
||||
|
||||
Reference in New Issue
Block a user