forked from qt-creator/qt-creator
core: progress on the QString->QByteArray for Core::Id, remove UniqueIDManager
Change-Id: I94bec127866822b790a6e45a4201a7a5fe71d6ce Reviewed-on: http://codereview.qt.nokia.com/4208 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -435,7 +435,7 @@ void Action::updateActiveState()
|
||||
setActive(m_action->isEnabled() && m_action->isVisible() && !m_action->isSeparator());
|
||||
}
|
||||
|
||||
static inline QString msgActionWarning(QAction *newAction, int k, QAction *oldAction)
|
||||
static QString msgActionWarning(QAction *newAction, int k, QAction *oldAction)
|
||||
{
|
||||
QString msg;
|
||||
QTextStream str(&msg);
|
||||
@@ -444,7 +444,7 @@ static inline QString msgActionWarning(QAction *newAction, int k, QAction *oldAc
|
||||
if (oldAction)
|
||||
str << oldAction->objectName() << '/' << oldAction->text();
|
||||
str << " is already registered for context " << k << ' '
|
||||
<< Core::ICore::instance()->uniqueIDManager()->stringForUniqueIdentifier(k)
|
||||
<< Core::Id::fromUniqueIdentifier(k).toString()
|
||||
<< '.';
|
||||
return msg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user