Skip to content
Snippets Groups Projects
Commit 64baaf2a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

lambda rm unused capture

parent 7b068f9e
No related branches found
No related tags found
1 merge request!2496resolve clang warnings
......@@ -151,8 +151,8 @@ void ActionManager::createMenus()
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) {
GUI::Util::createComboBox([] { return *gApp->color_gradient_combo; },
[](const QString& s) {
gApp->color_gradient_combo->setCurrentValue(s);
emit gApp->gradientChanged();
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment