@@ -94,7 +94,6 void DataSourceController::loadProductItem(const QUuid &dataSourceUid, | |||
|
94 | 94 | auto it = impl->m_DataProviders.find(dataSourceUid); |
|
95 | 95 | auto dataProvider = (it != impl->m_DataProviders.end()) ? it->second : nullptr; |
|
96 | 96 | |
|
97 | /// @todo retrieve timerange, and pass it to the signal | |
|
98 | 97 | emit variableCreationRequested(productItem.name(), productItem.data(), dataProvider); |
|
99 | 98 | } |
|
100 | 99 | else { |
@@ -112,12 +112,6 void VariableController::createVariable(const QString &name, const QVariantHash | |||
|
112 | 112 | return; |
|
113 | 113 | } |
|
114 | 114 | |
|
115 | ||
|
116 | /// @todo : for the moment : | |
|
117 | /// - the provider is only used to retrieve data from the variable for its initialization, but | |
|
118 | /// it will be retained later | |
|
119 | /// - default data are generated for the variable, without taking into account the timerange set | |
|
120 | /// in sciqlop | |
|
121 | 115 | auto dateTime = impl->m_TimeController->dateTime(); |
|
122 | 116 | |
|
123 | 117 | if (auto newVariable = impl->m_VariableModel->createVariable(name, dateTime, metadata)) { |
General Comments 0
You need to be logged in to leave comments.
Login now