X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitem.cpp;h=2141687c92b12fc546bbe87346681a65655dc4d3;hp=445f17958b06719ccdd66f66a2afc43c00b2ae83;hb=641574bcc118be0b6dc3a65039ab3497f9d7241a;hpb=a3d5a7c7682ebb991718b49ae916c5840b3b6b51 diff --git a/pv/views/trace/viewitem.cpp b/pv/views/trace/viewitem.cpp index 445f1795..2141687c 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; }