forked from qt-creator/qt-creator
Qt Quick Designer: Move valgrind icon to valgrind plugin
The "eye_crossed" icon is defined in one place and used in a totally different up. Change-Id: I392b5c1b8cf80803d0416ae272ded369f06ca405 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -288,7 +288,7 @@ MemcheckErrorView::MemcheckErrorView(QWidget *parent)
|
||||
|
||||
m_suppressAction = new QAction(this);
|
||||
m_suppressAction->setText(tr("Suppress Error"));
|
||||
m_suppressAction->setIcon(QIcon(QLatin1String(":/qmldesigner/images/eye_crossed.png")));
|
||||
m_suppressAction->setIcon(QIcon(QLatin1String(":/valgrind/images/eye_crossed.png")));
|
||||
m_suppressAction->setShortcut(QKeySequence(Qt::Key_Delete));
|
||||
m_suppressAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
|
||||
connect(m_suppressAction, &QAction::triggered, this, &MemcheckErrorView::suppressError);
|
||||
|
||||
Reference in New Issue
Block a user