Git: More visible reset icon in GerritRemoteChooser with light themes

The _TOOLBAR variant of the icon has almost the same color as the
background in light themes and is therefore not suited, here.

Change-Id: Ifc28bfca2f8c0764f0bc507dad63d8936727f610
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2017-07-21 01:10:48 +02:00
parent 52c2891083
commit e8477cf248

View File

@@ -60,7 +60,7 @@ GerritRemoteChooser::GerritRemoteChooser(QWidget *parent) :
connect(m_remoteComboBox, &QComboBox::currentTextChanged, connect(m_remoteComboBox, &QComboBox::currentTextChanged,
this, &GerritRemoteChooser::handleRemoteChanged); this, &GerritRemoteChooser::handleRemoteChanged);
m_resetRemoteButton->setIcon(Utils::Icons::RESET_TOOLBAR.icon()); m_resetRemoteButton->setIcon(Utils::Icons::RESET.icon());
connect(m_resetRemoteButton, &QToolButton::clicked, connect(m_resetRemoteButton, &QToolButton::clicked,
this, [this] { updateRemotes(true); }); this, [this] { updateRemotes(true); });
} }