diff options
author | Denis Mingulov <[email protected]> | 2012-01-17 13:06:12 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2012-01-17 12:25:10 +0100 |
commit | eed531ff9ef52e167d162741c1fbc4d16a9c2560 (patch) | |
tree | 13511105651fbb94b4d9934ff3261ff2fa270187 /src/plugins/valgrind/callgrindtool.cpp | |
parent | f77dfaddd1f3113509dac1922e5b103ba6705c24 (diff) |
Valgrind plugin: fix for just partial usage of coreplugin/coreconstants.h values
Valgrind plugin CallgrindTool and MemcheckTool modules sometime use
coreplugin/coreconstants.h values for icons (e.g. Core::Constants::ICON_REDO),
and sometime - an own constant is used like ":core/images/prev.png".
This commit is fixing this issue and changing everything to Core::Constants
usage.
Change-Id: I8d6f473a66a3181b03e2193314d17661df1d4cc1
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.cpp')
-rw-r--r-- | src/plugins/valgrind/callgrindtool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp index 0a7a2ebf218..e6c9913ca29 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)); |