From 00917e7bae724fab75b959d7aa8fa1554c8262a6 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Wed, 13 Mar 2024 17:57:12 +0100 Subject: [PATCH] format ActionManager --- GUI/View/Main/ActionManager.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/GUI/View/Main/ActionManager.cpp b/GUI/View/Main/ActionManager.cpp index 17217afaf0c..2597b0bf361 100644 --- a/GUI/View/Main/ActionManager.cpp +++ b/GUI/View/Main/ActionManager.cpp @@ -133,7 +133,7 @@ void ActionManager::createMenus() { auto* action = new QWidgetAction(m_settings_menu); - action->setText("&Enable autosave"); + action->setText("&Enable autosave"); auto* box = new QCheckBox("&Enable autosave", m_settings_menu); action->setDefaultWidget(box); action->setToolTip("Project will be saved periodically in project's autosave directory.\n" @@ -146,10 +146,10 @@ void ActionManager::createMenus() { auto* action = new QWidgetAction(m_settings_menu); - action->setToolTip("Color gradient for 2d plots"); - auto* w = new QWidget; - auto* l = new QHBoxLayout(w); - l->addWidget(new QLabel("2D plot color scheme")); + action->setToolTip("Color gradient for 2d plots"); + auto* w = new QWidget; + auto* l = new QHBoxLayout(w); + l->addWidget(new QLabel("2D plot color scheme")); QComboBox* box = GUI::Util::createComboBox([this] { return *gApp->color_gradient_combo; }, [this](const QString& s) { @@ -157,7 +157,7 @@ void ActionManager::createMenus() emit gApp->gradientChanged(); }, false); - l->addWidget(box); + l->addWidget(box); action->setDefaultWidget(w); m_settings_menu->addAction(action); } -- GitLab