diff --git a/vimiv/gui/resize.py b/vimiv/gui/resize.py index 3393856f..f71e0bfd 100644 --- a/vimiv/gui/resize.py +++ b/vimiv/gui/resize.py @@ -26,7 +26,7 @@ def __init__(self, parent, *, vertical: bool): @property def vertical(self): - return self._override_cursor == Qt.SizeVerCursor + return self._override_cursor == Qt.CursorShape.SizeVerCursor def mousePressEvent(self, event): """Constrain one axis when pressing the mouse."""