]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/viewport.cpp
cursors: Fix mouse cursor shape to be horizontal arrows.
[pulseview.git] / pv / views / trace / viewport.cpp
index 6c51d0a1f4a4c44f4964421000edd7cc16aad9a7..85db5250a385766d9b1cf4611e1f055449e2dc30 100644 (file)
@@ -70,7 +70,7 @@ void Viewport::item_hover(const shared_ptr<ViewItem> &item, QPoint pos)
 {
        if (item && item->is_draggable(pos))
                setCursor(dynamic_pointer_cast<ViewItem>(item) ?
-                       Qt::SizeVerCursor : Qt::SizeHorCursor);
+                       Qt::SizeHorCursor : Qt::SizeVerCursor);
        else
                unsetCursor();
 }