Commit 437c4735 authored by Lorenz Haas's avatar Lorenz Haas Committed by David Schulz

Beautifier: Add DISPLAY_NAME constant to ClangFormat

All ohter tools have this constant thus ClangFormat should have it too.

Change-Id: I23b032e86291f2490d56ff937d70510bf2f41377
Reviewed-by: default avatarJochen Becher <>
Reviewed-by: default avatarDavid Schulz <>
parent 2ce11e0b
......@@ -72,7 +72,7 @@ ClangFormat::~ClangFormat()
bool ClangFormat::initialize()
Core::ActionContainer *menu = Core::ActionManager::createMenu(Constants::ClangFormat::MENU_ID);
m_formatFile = new QAction(BeautifierPlugin::msgFormatCurrentFile(), this);
Core::Command *cmd
......@@ -35,6 +35,7 @@ namespace Beautifier {
namespace Constants {
namespace ClangFormat {
const char DISPLAY_NAME[] = "ClangFormat";
const char ACTION_FORMATFILE[] = "ClangFormat.FormatFile";
const char ACTION_FORMATSELECTED[] = "ClangFormat.FormatSelectedText";
const char MENU_ID[] = "ClangFormat.Menu";
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment