ScxmlEditor: Remove duplicated icons

Some of the icons that came with the scxml editor were already present
elsewhere in Qt Creator in a themable/HighDPI-able form.

Remove the own .png files, use the existing icons.

Change-Id: I891305faee45eeb39dac4135d2ff96fc06727731
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Alessandro Portale
2016-09-27 14:32:12 +02:00
parent 3f3a43a4af
commit ef208bf8a4
20 changed files with 43 additions and 66 deletions

View File

@@ -45,6 +45,7 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h>
#include <utils/utilsicons.h>
#include <QVBoxLayout>
@@ -136,11 +137,11 @@ void ScxmlEditorData::fullInit()
// Create undo/redo group/actions
m_undoGroup = new QUndoGroup(m_widgetToolBar);
m_undoAction = m_undoGroup->createUndoAction(m_widgetToolBar);
m_undoAction->setIcon(QIcon(":/scxmleditor/images/icon-undo.png"));
m_undoAction->setIcon(Utils::Icons::UNDO.icon());
m_undoAction->setToolTip(tr("Undo (Ctrl + Z)"));
m_redoAction = m_undoGroup->createRedoAction(m_widgetToolBar);
m_redoAction->setIcon(QIcon(":/scxmleditor/images/icon-redo.png"));
m_redoAction->setIcon(Utils::Icons::REDO.icon());
m_redoAction->setToolTip(tr("Redo (Ctrl + Y)"));
ActionManager::registerAction(m_undoAction, Core::Constants::UNDO, m_contexts);