projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d14193
)
Ruler: Don't use a function that is only available in recent boost versions
author
Jens Steinhauser
<jens.steinhauser@gmail.com>
Fri, 4 Sep 2015 16:31:48 +0000
(18:31 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 4 Sep 2015 16:42:35 +0000
(18:42 +0200)
pv/view/ruler.cpp
patch
|
blob
|
history
diff --git
a/pv/view/ruler.cpp
b/pv/view/ruler.cpp
index ab08a32011cdef2aad64f62cb8e2d4aaa8fdb14b..393af57711c699732c84cfd05c1ee9933dff0f6d 100644
(file)
--- a/
pv/view/ruler.cpp
+++ b/
pv/view/ruler.cpp
@@
-138,12
+138,12
@@
void Ruler::paintEvent(QPaintEvent*)
this->view_.tick_precision());
};
- tick_position_cache_
.emplace(
calculate_tick_positions(
+ tick_position_cache_
=
calculate_tick_positions(
view_.tick_period(),
view_.offset(),
view_.scale(),
width(),
- ffunc)
)
;
+ ffunc);
}
const int ValueMargin = 3;