forked from qt-creator/qt-creator
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:
@@ -60,7 +60,7 @@ GerritRemoteChooser::GerritRemoteChooser(QWidget *parent) :
|
||||
|
||||
connect(m_remoteComboBox, &QComboBox::currentTextChanged,
|
||||
this, &GerritRemoteChooser::handleRemoteChanged);
|
||||
m_resetRemoteButton->setIcon(Utils::Icons::RESET_TOOLBAR.icon());
|
||||
m_resetRemoteButton->setIcon(Utils::Icons::RESET.icon());
|
||||
connect(m_resetRemoteButton, &QToolButton::clicked,
|
||||
this, [this] { updateRemotes(true); });
|
||||
}
|
||||
|
Reference in New Issue
Block a user