projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d47845
)
Set the colour of ruler annotations to the correct palette colour
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 3 Mar 2013 09:55:03 +0000
(09:55 +0000)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 3 Mar 2013 16:18:20 +0000
(17:18 +0100)
pv/view/ruler.cpp
patch
|
blob
|
history
diff --git
a/pv/view/ruler.cpp
b/pv/view/ruler.cpp
index f4cbc1cab5a0cf1c3784b07b3570ff1b9f4b03d2..97a0d8f1d7b89c2c01cdae488715b2a4cf715f81 100644
(file)
--- a/
pv/view/ruler.cpp
+++ b/
pv/view/ruler.cpp
@@
-88,7
+88,7
@@
void Ruler::paintEvent(QPaintEvent*)
Qt::AlignLeft | Qt::AlignTop, "8").height();
// Draw the tick marks
- p.setPen(
Qt::black
);
+ p.setPen(
palette().color(foregroundRole())
);
const double minor_tick_period = tick_period / MinorTickSubdivision;
const double first_major_division =