##// END OF EJS Templates
Add clang format from linux
perrinel -
r595:8e31780497af
parent child
Show More
@@ -161,8 +161,8 QVariant VariableModel::data(const QModelIndex &index, int role) const
161 161 dataSeries->lockRead();
162 162 auto it = getValueFun(*dataSeries);
163 163 auto resVariant = (it != dataSeries->cend())
164 ? DateUtils::dateTime(it->x()).toString(DATETIME_FORMAT)
165 : QVariant{};
164 ? DateUtils::dateTime(it->x()).toString(DATETIME_FORMAT)
165 : QVariant{};
166 166 dataSeries->unlock();
167 167 return resVariant;
168 168 }
@@ -193,7 +193,8 VisualizationGraphWidget *VisualizationZoneWidget::createGraph(std::shared_ptr<V
193 193 // get y using variable range
194 194 if (auto dataSeries = variable->dataSeries()) {
195 195 dataSeries->lockRead();
196 auto valuesBounds = dataSeries->valuesBounds(variable->range().m_TStart, variable->range().m_TEnd);
196 auto valuesBounds
197 = dataSeries->valuesBounds(variable->range().m_TStart, variable->range().m_TEnd);
197 198 auto end = dataSeries->cend();
198 199 if (valuesBounds.first != end && valuesBounds.second != end) {
199 200 auto rangeValue = [](const auto &value) { return std::isnan(value) ? 0. : value; };
General Comments 3
Under Review
author

Auto status change to "Under Review"

Approved
author

Status change > Approved

You need to be logged in to leave comments. Login now