forked from qt-creator/qt-creator
TextEditor: Improve the look of the TextMark tooltip settings icon
This introduces a non-"toolbar" variant of the settings icon and makes TextMark use it. Change-Id: Icc1cbb36ca1e0f86746175625c0eca9996d10121 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -418,7 +418,7 @@ void TextMark::setSettingsPage(Id settingsPage)
|
||||
{
|
||||
delete m_settingsAction;
|
||||
m_settingsAction = new QAction;
|
||||
m_settingsAction->setIcon(Utils::Icons::SETTINGS_TOOLBAR.icon());
|
||||
m_settingsAction->setIcon(Utils::Icons::SETTINGS.icon());
|
||||
m_settingsAction->setToolTip(tr("Show Diagnostic Settings"));
|
||||
QObject::connect(m_settingsAction, &QAction::triggered, Core::ICore::instance(),
|
||||
[settingsPage] { Core::ICore::showOptionsDialog(settingsPage); },
|
||||
|
||||
Reference in New Issue
Block a user