diff options
Diffstat (limited to 'src/plugins/modeleditor/modeleditor.cpp')
-rw-r--r-- | src/plugins/modeleditor/modeleditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/modeleditor/modeleditor.cpp b/src/plugins/modeleditor/modeleditor.cpp index 08facc1c48..3b33249db3 100644 --- a/src/plugins/modeleditor/modeleditor.cpp +++ b/src/plugins/modeleditor/modeleditor.cpp @@ -842,7 +842,7 @@ void ModelEditor::expandModelTreeToDepth(int depth) d->modelTreeView->expandToDepth(depth); } -QToolButton *ModelEditor::createToolbarCommandButton(const Core::Id &id, +QToolButton *ModelEditor::createToolbarCommandButton(const Utils::Id &id, const std::function<void()> &slot, QWidget *parent) { @@ -1119,11 +1119,11 @@ void ModelEditor::initToolbars() if (!tool.m_stereotype.isEmpty() && stereotypeIconElement != qmt::StereotypeIcon::ElementAny) { const qmt::Style *style = documentController->styleController()->adaptStyle(styleEngineElementType); icon = stereotypeController->createIcon( - stereotypeIconElement, QStringList() << tool.m_stereotype, + stereotypeIconElement, {tool.m_stereotype}, QString(), style, QSize(128, 128), QMarginsF(6.0, 4.0, 6.0, 8.0), 8.0); if (!icon.isNull()) { QString stereotypeIconId = stereotypeController->findStereotypeIconId( - stereotypeIconElement, QStringList() << tool.m_stereotype); + stereotypeIconElement, {tool.m_stereotype}); qmt::StereotypeIcon stereotypeIcon = stereotypeController->findStereotypeIcon(stereotypeIconId); if (stereotypeIcon.hasName()) newElementName = stereotypeIcon.name(); |