diff options
author | Nikita Baryshnikov <nib952051@gmail.com> | 2016-08-10 17:25:09 +0300 |
---|---|---|
committer | Nikita Baryshnikov <nib952051@gmail.com> | 2016-08-10 15:36:57 +0000 |
commit | 1e8e4b808f8d61950e58235c3bf9241e9419fc3e (patch) | |
tree | 950df419618c247110288b1ccebe8cf4368197b3 /src/plugins/modeleditor/actionhandler.cpp | |
parent | d918e53394290151c77a922a5786f78c618f7e45 (diff) |
ModelEditor: fix icon path
Change-Id: I5d8c7ca4486e444a4c1c2861301e5a32c38a4068
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/modeleditor/actionhandler.cpp')
-rw-r--r-- | src/plugins/modeleditor/actionhandler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/modeleditor/actionhandler.cpp b/src/plugins/modeleditor/actionhandler.cpp index eeec74e89a..2bb98d85b8 100644 --- a/src/plugins/modeleditor/actionhandler.cpp +++ b/src/plugins/modeleditor/actionhandler.cpp @@ -34,6 +34,7 @@ #include <coreplugin/editormanager/editormanager.h> #include <coreplugin/icore.h> #include <utils/icon.h> +#include <utils/utilsicons.h> #include <QAction> #include <QShortcut> @@ -206,9 +207,7 @@ void ActionHandler::createActions() d->synchronizeBrowserAction = registerCommand( Constants::ACTION_SYNC_BROWSER, nullptr, Core::Context(), true, tr("Synchronize Browser and Diagram<br><i><small>Press&Hold for options</small></i>"))->action(); - static const Utils::Icon - LINK_ICON({{ QStringLiteral(":/core/images/linkicon.png"), Utils::Theme::IconsBaseColor }}); - d->synchronizeBrowserAction->setIcon(LINK_ICON.icon()); + d->synchronizeBrowserAction->setIcon(Utils::Icons::LINK.icon()); d->synchronizeBrowserAction->setCheckable(true); auto editPropertiesAction = new QAction(tr("Edit Element Properties"), Core::ICore::mainWindow()); |