replace const char* with QString in removeItemFromListWidget

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

View File

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