From 4614eb92a226b0da72320be8548fe0ebfbbe415a Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 19 Oct 2019 15:18:26 +0200 Subject: [PATCH] fix gcc/clang build failure --- src/Gui/DlgParameterImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/DlgParameterImp.cpp b/src/Gui/DlgParameterImp.cpp index 6a9ca967f6..61c7fd9048 100644 --- a/src/Gui/DlgParameterImp.cpp +++ b/src/Gui/DlgParameterImp.cpp @@ -412,7 +412,7 @@ void ParameterGroup::onDeleteSelectedItem() int index = parent->indexOfChild(sel); parent->takeChild(index); - std::string groupName = sel->text(0).toLatin1(); + std::string groupName = sel->text(0).toStdString(); // must delete the tree item here because it and its children still // hold a reference to the parameter group delete sel;