diff --git a/core/include/Data/DataSeries.h b/core/include/Data/DataSeries.h index 1669c91..dff18f8 100644 --- a/core/include/Data/DataSeries.h +++ b/core/include/Data/DataSeries.h @@ -148,15 +148,6 @@ public: int nbPoints() const override { return m_XAxisData->totalSize() + m_ValuesData->totalSize(); } - SqpRange range() const override - { - if (!m_XAxisData->cdata().empty()) { - return SqpRange{m_XAxisData->cdata().front(), m_XAxisData->cdata().back()}; - } - - return SqpRange{}; - } - void clear() { m_XAxisData->clear(); diff --git a/core/include/Data/IDataSeries.h b/core/include/Data/IDataSeries.h index f7c2aa1..19778fb 100644 --- a/core/include/Data/IDataSeries.h +++ b/core/include/Data/IDataSeries.h @@ -68,8 +68,6 @@ public: /// @return the total number of points contained in the data series virtual int nbPoints() const = 0; - virtual SqpRange range() const = 0; - // ///////// // // Iterators // // ///////// // diff --git a/core/src/Variable/VariableController.cpp b/core/src/Variable/VariableController.cpp index 6fa1b1e..7b231da 100644 --- a/core/src/Variable/VariableController.cpp +++ b/core/src/Variable/VariableController.cpp @@ -788,9 +788,7 @@ void VariableController::VariableControllerPrivate::updateVariableRequest(QUuid qCDebug(LOG_VariableController()) << tr("2: onDataProvided") << varRequest.m_CacheRangeRequested; var->mergeDataSeries(varRequest.m_DataSeries); - qCDebug(LOG_VariableController()) << tr("3: onDataProvided") - << varRequest.m_DataSeries->range(); - qCDebug(LOG_VariableController()) << tr("4: onDataProvided"); + qCDebug(LOG_VariableController()) << tr("3: onDataProvided"); /// @todo MPL: confirm // Variable update is notified only if there is no pending request for it