projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Exposed View::_session with accessor function
[pulseview.git]
/
pv
/
view
/
viewport.cpp
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index 572e38b154317f30612e57e07165548f560bdd80..b8598bcb619534b597d66e9b9d21a071049f63b5 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-60,7
+60,7
@@
int Viewport::get_total_height() const
{
int height = 0;
BOOST_FOREACH(const shared_ptr<Signal> s,
{
int height = 0;
BOOST_FOREACH(const shared_ptr<Signal> s,
- _view.
_session
.get_signals()) {
+ _view.
session()
.get_signals()) {
assert(s);
height += SignalHeight;
}
assert(s);
height += SignalHeight;
}
@@
-82,7
+82,7
@@
void Viewport::paintEvent(QPaintEvent *event)
int offset;
const vector< shared_ptr<Signal> > &sigs =
int offset;
const vector< shared_ptr<Signal> > &sigs =
- _view.
_session
.get_signals();
+ _view.
session()
.get_signals();
// Prepare for OpenGL rendering
makeCurrent();
// Prepare for OpenGL rendering
makeCurrent();