Skip to content

Commit

Permalink
fix gcc/clang build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 19, 2019
1 parent f8f52e6 commit 4614eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/DlgParameterImp.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 4614eb9

Please sign in to comment.