From c651a1e290b48ea002df3de738d445f9984c654f Mon Sep 17 00:00:00 2001 From: David Schulz Date: Mon, 23 Jan 2023 10:47:39 +0100 Subject: [PATCH] ClangTools: remove arrow from analyze current file button This is now in line with the other menu buttons in the editor toolbar like the language client button or the python interpreter and repl buttons. Change-Id: If22d3e9c87274eee2fefe8e30f6b0648be5d60c9 Reviewed-by: Alessandro Portale --- src/plugins/clangtools/clangtoolsplugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/clangtools/clangtoolsplugin.cpp b/src/plugins/clangtools/clangtoolsplugin.cpp index c8be34202ae..613fe78d207 100644 --- a/src/plugins/clangtools/clangtoolsplugin.cpp +++ b/src/plugins/clangtools/clangtoolsplugin.cpp @@ -167,6 +167,7 @@ void ClangToolsPlugin::registerAnalyzeActions() button->setPopupMode(QToolButton::InstantPopup); button->setIcon(icon); button->setToolTip(Tr::tr("Analyze File...")); + button->setProperty("noArrow", true); widget->toolBar()->addWidget(button); const auto toolsMenu = new QMenu(widget); button->setMenu(toolsMenu);