forked from qt-creator/qt-creator
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 <alessandro.portale@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user