Compiles, links and runs (functionality not tested)

This commit is contained in:
Eelke Klein 2017-08-23 13:27:23 +02:00
parent 04723a289b
commit 6a97c0447a
48 changed files with 224 additions and 149 deletions

View file

@ -1,6 +1,7 @@
#include "queryexplainmodel.h"
#include "QueryExplainModel.h"
#include <QColor>
#include <QSize>
#include <cmath>
const int c_ColumnNode = 0;
const int c_ColumnExclusive = 1;
@ -79,7 +80,7 @@ if (role == Qt::DisplayRole) {
}
}
if (col == c_ColumnEstErr) {
float e = fabs(item->estimateError());
float e = std::fabs(item->estimateError());
if (e > 1000.0f) {
result = QColor(255, 192, 192);
}