replace const char* with QString in removeItemFromListWidget

This commit is contained in:
wmayer
2016-10-21 13:48:45 +02:00
parent e178501c4f
commit 6fef24f676
7 changed files with 17 additions and 13 deletions

View File

@@ -151,7 +151,7 @@ void TaskScaledParameters::onSelectionChanged(const Gui::SelectionChanges& msg)
if (selectionMode == addFeature)
ui->listWidgetFeatures->addItem(QString::fromLatin1(msg.pObjectName));
else
removeItemFromListWidget(ui->listWidgetFeatures, msg.pObjectName);
removeItemFromListWidget(ui->listWidgetFeatures, QString::fromLatin1(msg.pObjectName));
exitSelectionMode();
}
}