projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a009d21
)
When hovering a ViewItem only change the mouse cursor for movable items.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 7 Nov 2015 14:41:58 +0000
(15:41 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 7 Nov 2015 14:52:16 +0000
(15:52 +0100)
pv/view/viewport.cpp
patch
|
blob
|
history
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index ac494272de8705522a6c1ca43e073dbd3f9d23d0..3811c1e8a143d70b6dc8f03115d1ead1e529c07e 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-68,7
+68,7
@@
shared_ptr<ViewItem> Viewport::get_mouse_over_item(const QPoint &pt)
void Viewport::item_hover(const shared_ptr<ViewItem> &item)
{
- if (item)
+ if (item
&& item->is_draggable()
)
setCursor(dynamic_pointer_cast<RowItem>(item) ?
Qt::SizeVerCursor : Qt::SizeHorCursor);
else