X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitem.cpp;h=2141687c92b12fc546bbe87346681a65655dc4d3;hp=445f17958b06719ccdd66f66a2afc43c00b2ae83;hb=641574bcc118be0b6dc3a65039ab3497f9d7241a;hpb=5e685656d6686eb66a39450d1b324f6382fc60c5 diff --git a/pv/views/trace/viewitem.cpp b/pv/views/trace/viewitem.cpp index 445f179..2141687 100644 --- a/pv/views/trace/viewitem.cpp +++ b/pv/views/trace/viewitem.cpp @@ -130,7 +130,7 @@ void ViewItem::paint_fore(QPainter &p, ViewItemPaintParams &pp) (void)pp; } -QColor ViewItem::select_text_colour(QColor background) +QColor ViewItem::select_text_color(QColor background) { return (background.lightness() > 110) ? Qt::black : Qt::white; }