@@ -94,7 +94,6 void DataSourceController::loadProductItem(const QUuid &dataSourceUid, | |||||
94 | auto it = impl->m_DataProviders.find(dataSourceUid); |
|
94 | auto it = impl->m_DataProviders.find(dataSourceUid); | |
95 | auto dataProvider = (it != impl->m_DataProviders.end()) ? it->second : nullptr; |
|
95 | auto dataProvider = (it != impl->m_DataProviders.end()) ? it->second : nullptr; | |
96 |
|
96 | |||
97 | /// @todo retrieve timerange, and pass it to the signal |
|
|||
98 | emit variableCreationRequested(productItem.name(), productItem.data(), dataProvider); |
|
97 | emit variableCreationRequested(productItem.name(), productItem.data(), dataProvider); | |
99 | } |
|
98 | } | |
100 | else { |
|
99 | else { |
@@ -112,12 +112,6 void VariableController::createVariable(const QString &name, const QVariantHash | |||||
112 | return; |
|
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 | auto dateTime = impl->m_TimeController->dateTime(); |
|
115 | auto dateTime = impl->m_TimeController->dateTime(); | |
122 |
|
116 | |||
123 | if (auto newVariable = impl->m_VariableModel->createVariable(name, dateTime, metadata)) { |
|
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