Commit 0a43a6fe authored by Alessandro Portale's avatar Alessandro Portale

Fix for QTCREATORBUG-1983

Uis in the core plugin should not use icons from the help plugin.
Also, let's use the Core::Constants::ICON_* instead of duplicated
file name strings.
parent beb6f59c
......@@ -77,8 +77,8 @@ EditorToolBar::EditorToolBar(QWidget *parent) :
m_closeButton(new QToolButton),
m_lockButton(new QToolButton),
m_goBackAction(new QAction(QIcon(QLatin1String(":/help/images/previous.png")), EditorManager::tr("Go Back"), parent)),
m_goForwardAction(new QAction(QIcon(QLatin1String(":/help/images/next.png")), EditorManager::tr("Go Forward"), parent)),
m_goBackAction(new QAction(QIcon(QLatin1String(Constants::ICON_PREV)), EditorManager::tr("Go Back"), parent)),
m_goForwardAction(new QAction(QIcon(QLatin1String(Constants::ICON_NEXT)), EditorManager::tr("Go Forward"), parent)),
m_activeToolBar(0),
m_toolBarPlaceholder(new QWidget),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment