Fix qt colors passed to GColor macro (#4501)

This commit is contained in:
Paul Johnson
2024-05-30 13:25:14 +01:00
committed by GitHub
parent 04f2f70dbd
commit 2b23d6adf0
2 changed files with 2 additions and 2 deletions

View File

@@ -552,7 +552,7 @@ class IntervalOverviewItem : public ChartSpaceItem
class BPointF {
public:
BPointF() : x(0), y(0), z(0), xoff(0), yoff(0), fill(GColor(Qt::gray)), item(NULL) {}
BPointF() : x(0), y(0), z(0), xoff(0), yoff(0), fill(GColor(CRIDEPLOTXAXIS)), item(NULL) {}
double score(BPointF &other);

View File

@@ -1216,7 +1216,7 @@ ExtendedCriticalPower::getPlotLevelForExtendedCP_5_3(TestModel model)
QwtPlotCurve *extendedCPCurve2 = new QwtPlotCurve("level_eCP_5_3");
if (appsettings->value(NULL, GC_ANTIALIAS, true).toBool() == true)
extendedCPCurve2->setRenderHint(QwtPlotItem::RenderAntialiased);
QPen e2pen(GColor(Qt::lightGray)); // Qt::cyan
QPen e2pen(GColor(CRIDEPLOTYAXIS));
e2pen.setWidth(1);
e2pen.setStyle(Qt::SolidLine);
extendedCPCurve2->setPen(e2pen);