mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Fix qt colors passed to GColor macro (#4501)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user