projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bar displaying undecoded area
[pulseview.git]
/
pv
/
views
/
trace
/
viewitem.cpp
diff --git
a/pv/views/trace/viewitem.cpp
b/pv/views/trace/viewitem.cpp
index 61bc99f5f98bba157a1d2eae1ade7078bb892539..2141687c92b12fc546bbe87346681a65655dc4d3 100644
(file)
--- a/
pv/views/trace/viewitem.cpp
+++ b/
pv/views/trace/viewitem.cpp
@@
-62,7
+62,7
@@
bool ViewItem::dragging() const
void ViewItem::drag()
{
if (is_draggable())
void ViewItem::drag()
{
if (is_draggable())
- drag_point_ = point(QRect());
+ drag_point_ =
drag_
point(QRect());
}
void ViewItem::drag_release()
}
void ViewItem::drag_release()
@@
-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;
}