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:
@@ -13,7 +13,6 @@
|
|||||||
<file>images/checkbox_tr_unchecked_hover.png</file>
|
<file>images/checkbox_tr_unchecked_hover.png</file>
|
||||||
<file>images/checkbox_tr_unchecked_pressed.png</file>
|
<file>images/checkbox_tr_unchecked_pressed.png</file>
|
||||||
<file>images/eye_open.png</file>
|
<file>images/eye_open.png</file>
|
||||||
<file>images/eye_crossed.png</file>
|
|
||||||
<file>images/lock.png</file>
|
<file>images/lock.png</file>
|
||||||
<file>images/hole.png</file>
|
<file>images/hole.png</file>
|
||||||
<file>images/down_arrow.png</file>
|
<file>images/down_arrow.png</file>
|
||||||
|
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 731 B |
@@ -288,7 +288,7 @@ MemcheckErrorView::MemcheckErrorView(QWidget *parent)
|
|||||||
|
|
||||||
m_suppressAction = new QAction(this);
|
m_suppressAction = new QAction(this);
|
||||||
m_suppressAction->setText(tr("Suppress Error"));
|
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->setShortcut(QKeySequence(Qt::Key_Delete));
|
||||||
m_suppressAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
|
m_suppressAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
|
||||||
connect(m_suppressAction, &QAction::triggered, this, &MemcheckErrorView::suppressError);
|
connect(m_suppressAction, &QAction::triggered, this, &MemcheckErrorView::suppressError);
|
||||||
|
@@ -55,3 +55,5 @@ SOURCES += \
|
|||||||
FORMS += \
|
FORMS += \
|
||||||
valgrindconfigwidget.ui
|
valgrindconfigwidget.ui
|
||||||
|
|
||||||
|
RESOURCES += \
|
||||||
|
valgrind.qrc
|
||||||
|
5
src/plugins/valgrind/valgrind.qrc
Normal file
5
src/plugins/valgrind/valgrind.qrc
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<RCC>
|
||||||
|
<qresource prefix="/valgrind">
|
||||||
|
<file>images/eye_crossed.png</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
Reference in New Issue
Block a user