diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp
index 0a7a2ebf2181f83ebfc20e70a34491f62c8f5db1..e6c9913ca2936b4fc0d688f52f5480eff0da677e 100644
--- a/src/plugins/valgrind/callgrindtool.cpp
+++ b/src/plugins/valgrind/callgrindtool.cpp
@@ -743,7 +743,7 @@ QWidget *CallgrindToolPrivate::createWidgets()
     // go back
     action = new QAction(this);
     action->setDisabled(true);
-    action->setIcon(QIcon(QLatin1String(":core/images/prev.png")));
+    action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_PREV)));
     action->setToolTip(tr("Go back one step in history. This will select the previously selected item."));
     connect(action, SIGNAL(triggered(bool)), m_stackBrowser, SLOT(goBack()));
     layout->addWidget(createToolButton(action));
@@ -752,7 +752,7 @@ QWidget *CallgrindToolPrivate::createWidgets()
     // go forward
     action = new QAction(this);
     action->setDisabled(true);
-    action->setIcon(QIcon(QLatin1String(":core/images/next.png")));
+    action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_NEXT)));
     action->setToolTip(tr("Go forward one step in history."));
     connect(action, SIGNAL(triggered(bool)), m_stackBrowser, SLOT(goNext()));
     layout->addWidget(createToolButton(action));
diff --git a/src/plugins/valgrind/memchecktool.cpp b/src/plugins/valgrind/memchecktool.cpp
index dd38bb8b7c74d903d70ecebc60c939ace8f9ccea..bf25b4db9f2433a7e3fab827f6ffb93af1c96ee4 100644
--- a/src/plugins/valgrind/memchecktool.cpp
+++ b/src/plugins/valgrind/memchecktool.cpp
@@ -413,7 +413,7 @@ QWidget *MemcheckTool::createWidgets()
     // Go to previous leak.
     action = new QAction(this);
     action->setDisabled(true);
-    action->setIcon(QIcon(QLatin1String(":core/images/prev.png")));
+    action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_PREV)));
     action->setToolTip(tr("Go to previous leak."));
     connect(action, SIGNAL(triggered(bool)), m_errorView, SLOT(goBack()));
     button = new QToolButton;
@@ -424,7 +424,7 @@ QWidget *MemcheckTool::createWidgets()
     // Go to next leak.
     action = new QAction(this);
     action->setDisabled(true);
-    action->setIcon(QIcon(QLatin1String(":core/images/next.png")));
+    action->setIcon(QIcon(QLatin1String(Core::Constants::ICON_NEXT)));
     action->setToolTip(tr("Go to next leak."));
     connect(action, SIGNAL(triggered(bool)), m_errorView, SLOT(goNext()));
     button = new QToolButton;