projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make ExportMenu accept a vector of actions
[pulseview.git]
/
pv
/
widgets
/
popup.cpp
diff --git
a/pv/widgets/popup.cpp
b/pv/widgets/popup.cpp
index 68f79f0f6fbeafe6066bc0a3bc96e4ad11d037d8..de2d1b57010643228bb28c5ba713eb25723c55eb 100644
(file)
--- a/
pv/widgets/popup.cpp
+++ b/
pv/widgets/popup.cpp
@@
-238,7
+238,7
@@
void Popup::reposition_widget()
if (pos_ == Left)
o.rx() = -width();
if (pos_ == Left)
o.rx() = -width();
- else if(pos_ == Top)
+ else if
(pos_ == Top)
o.ry() = -height();
o += point_;
o.ry() = -height();
o += point_;
@@
-300,7
+300,7
@@
void Popup::mouseReleaseEvent(QMouseEvent *e)
// We need our own out-of-bounds click handler because QWidget counts
// the drop-shadow region as inside the widget
// We need our own out-of-bounds click handler because QWidget counts
// the drop-shadow region as inside the widget
- if(!bubble_rect().contains(e->pos()))
+ if
(!bubble_rect().contains(e->pos()))
close();
}
close();
}