projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cursorpair.cpp: Fix a clazy warning (-Wclazy-qstring-arg).
[pulseview.git]
/
pv
/
views
/
trace
/
viewitem.cpp
diff --git
a/pv/views/trace/viewitem.cpp
b/pv/views/trace/viewitem.cpp
index 445f17958b06719ccdd66f66a2afc43c00b2ae83..2141687c92b12fc546bbe87346681a65655dc4d3 100644
(file)
--- 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;
}
(void)pp;
}
-QColor ViewItem::select_text_colo
u
r(QColor background)
+QColor ViewItem::select_text_color(QColor background)
{
return (background.lightness() > 110) ? Qt::black : Qt::white;
}
{
return (background.lightness() > 110) ? Qt::black : Qt::white;
}