fix gcc/clang build failure

This commit is contained in:
wmayer
2019-10-19 15:18:26 +02:00
parent fd2940ead7
commit 091375a993

View File

@@ -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;