summary refs log tree commit diff
path: root/src/ui/NhekoCursorShape.cpp
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-11-03 21:43:11 -0400
committerJoseph Donofry <joedonofry@gmail.com>2021-11-03 21:43:11 -0400
commit743a83c8e6f0b64b21e8042a9eb04ce35c713008 (patch)
treef980bdb8c45e607547f87e48f42144227166aa6c /src/ui/NhekoCursorShape.cpp
parentMerge remote-tracking branch 'nheko-im/master' into video_player_enhancements (diff)
parentUpdate translations (diff)
downloadnheko-743a83c8e6f0b64b21e8042a9eb04ce35c713008.tar.xz
Update video_player_enhancements with changes from master
Diffstat (limited to 'src/ui/NhekoCursorShape.cpp')
-rw-r--r--src/ui/NhekoCursorShape.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/NhekoCursorShape.cpp b/src/ui/NhekoCursorShape.cpp

index b36eedbd..70991757 100644 --- a/src/ui/NhekoCursorShape.cpp +++ b/src/ui/NhekoCursorShape.cpp
@@ -14,16 +14,16 @@ NhekoCursorShape::NhekoCursorShape(QQuickItem *parent) Qt::CursorShape NhekoCursorShape::cursorShape() const { - return cursor().shape(); + return cursor().shape(); } void NhekoCursorShape::setCursorShape(Qt::CursorShape cursorShape) { - if (currentShape_ == cursorShape) - return; + if (currentShape_ == cursorShape) + return; - currentShape_ = cursorShape; - setCursor(cursorShape); - emit cursorShapeChanged(); + currentShape_ = cursorShape; + setCursor(cursorShape); + emit cursorShapeChanged(); }