We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 936b0d8 commit 0eb1837Copy full SHA for 0eb1837
1 file changed
src/ScatterplotPlugin.cpp
@@ -138,10 +138,10 @@ ScatterplotPlugin::ScatterplotPlugin(const PluginFactory* factory) :
138
if (datasetsMimeData == nullptr)
139
return dropRegions;
140
141
- if (datasetsMimeData->getDatasets().count() > 1)
+ if (datasetsMimeData->getDatasetsCount() > 1)
142
143
144
- const auto dataset = datasetsMimeData->getDatasets().first();
+ const auto& dataset = datasetsMimeData->getDatasetsRef().first();
145
const auto datasetGuiName = dataset->text();
146
const auto datasetId = dataset->getId();
147
const auto dataType = dataset->getDataType();
0 commit comments