projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b5099b
)
Set the colour of the ruler hover marker to the correct palette colour
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 31 Mar 2013 08:29:30 +0000
(09:29 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 31 Mar 2013 08:29:30 +0000
(09:29 +0100)
pv/view/ruler.cpp
patch
|
blob
|
history
diff --git
a/pv/view/ruler.cpp
b/pv/view/ruler.cpp
index adab57dbed21344dab3cf39a072492a40950e82f..eb658e484bb4af8ec9f522a34869731144005230 100644
(file)
--- a/
pv/view/ruler.cpp
+++ b/
pv/view/ruler.cpp
@@
-223,7
+223,7
@@
void Ruler::draw_hover_mark(QPainter &p)
return;
p.setPen(QPen(Qt::NoPen));
- p.setBrush(QBrush(
QColor(Qt::black
)));
+ p.setBrush(QBrush(
palette().color(foregroundRole()
)));
const int b = height() - 1;
const QPointF points[] = {