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:
Alessandro Portale
2022-07-19 13:51:11 +02:00
parent f2941ea284
commit 90ab2aa318
3 changed files with 4 additions and 1 deletions

View File

@@ -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); },