From 8748e2a99ebe24c6c3e9dc59beb4a15c3e5d1b06 2017-07-13 08:18:09 From: Alexandre Leroux Date: 2017-07-13 08:18:09 Subject: [PATCH] Cleans unneccesary comments --- diff --git a/core/src/DataSource/DataSourceController.cpp b/core/src/DataSource/DataSourceController.cpp index f41d211..0a3d1e3 100644 --- a/core/src/DataSource/DataSourceController.cpp +++ b/core/src/DataSource/DataSourceController.cpp @@ -94,7 +94,6 @@ void DataSourceController::loadProductItem(const QUuid &dataSourceUid, auto it = impl->m_DataProviders.find(dataSourceUid); auto dataProvider = (it != impl->m_DataProviders.end()) ? it->second : nullptr; - /// @todo retrieve timerange, and pass it to the signal emit variableCreationRequested(productItem.name(), productItem.data(), dataProvider); } else { diff --git a/core/src/Variable/VariableController.cpp b/core/src/Variable/VariableController.cpp index d034d23..cd5aa59 100644 --- a/core/src/Variable/VariableController.cpp +++ b/core/src/Variable/VariableController.cpp @@ -112,12 +112,6 @@ void VariableController::createVariable(const QString &name, const QVariantHash return; } - - /// @todo : for the moment : - /// - the provider is only used to retrieve data from the variable for its initialization, but - /// it will be retained later - /// - default data are generated for the variable, without taking into account the timerange set - /// in sciqlop auto dateTime = impl->m_TimeController->dateTime(); if (auto newVariable = impl->m_VariableModel->createVariable(name, dateTime, metadata)) {