forked from qt-creator/qt-creator
Move reload icon from diff editor to core
It is a generic icon, and will for example also be used in the Help plugin. Also make it more round and add a 2x variant for HiDPI. Change-Id: I2ad4fc1e2d2766042646a47483f129447c2c3c25 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
a56fc82b0a
commit
23d3ada73f
@@ -333,7 +333,7 @@ QWidget *DiffEditor::toolBar()
|
||||
slotDescriptionVisibilityChanged();
|
||||
|
||||
QToolButton *reloadButton = new QToolButton(m_toolBar);
|
||||
reloadButton->setIcon(QIcon(QLatin1String(Constants::ICON_RELOAD)));
|
||||
reloadButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_RELOAD_GRAY)));
|
||||
reloadButton->setToolTip(tr("Reload Editor"));
|
||||
m_toolBar->addWidget(reloadButton);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user