summary refs log tree commit diff
path: root/src/ui/NhekoCursorShape.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-09-18 00:22:33 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-09-18 00:45:50 +0200
commitcfca7157b98c9dc8e0852fe6484bc3f75008af7d (patch)
tree32b92340908a9374214ec7b84c1fac7ea338f56d /src/ui/NhekoCursorShape.cpp
parentMerge pull request #728 from Thulinma/goto (diff)
downloadnheko-cfca7157b98c9dc8e0852fe6484bc3f75008af7d.tar.xz
Change indentation to 4 spaces
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(); }