]> sigrok.org Git - pulseview.git/commitdiff
cursors: Fix mouse cursor shape to be horizontal arrows.
authorUwe Hermann <redacted>
Sat, 6 Jul 2019 13:58:20 +0000 (15:58 +0200)
committerUwe Hermann <redacted>
Sat, 6 Jul 2019 13:59:20 +0000 (15:59 +0200)
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();
 }