projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecodeTrace: Remove hide_hover_annotation() as it's only used once
[pulseview.git]
/
pv
/
view
/
view.cpp
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 4575d05e2b7dd0fc58009a4bc927892dbe52a9a3..083d02dad9c6fa6043ae3c906363165a2c8294c0 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-198,6
+198,7
@@
const Viewport* View::viewport() const
vector< shared_ptr<TimeItem> > View::time_items() const
{
vector< shared_ptr<TimeItem> > items;
vector< shared_ptr<TimeItem> > View::time_items() const
{
vector< shared_ptr<TimeItem> > items;
+ items.push_back(cursors_);
items.push_back(cursors_->first());
items.push_back(cursors_->second());
return items;
items.push_back(cursors_->first());
items.push_back(cursors_->second());
return items;
@@
-505,16
+506,16
@@
void View::update_layout()
update_scroll();
}
update_scroll();
}
-void View::paint_label(QPainter &p,
int righ
t, bool hover)
+void View::paint_label(QPainter &p,
const QRect &rec
t, bool hover)
{
(void)p;
{
(void)p;
- (void)r
igh
t;
+ (void)r
ec
t;
(void)hover;
}
(void)hover;
}
-QRectF View::label_rect(
int righ
t)
+QRectF View::label_rect(
const QRectF &rec
t)
{
{
- (void)r
igh
t;
+ (void)r
ec
t;
return QRectF();
}
return QRectF();
}