diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-05 01:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-05 01:09:30 +0300 |
commit | 485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch) | |
tree | ce74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/gui/widgets/scrollarea.cpp | |
parent | 33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff) | |
download | ManaVerse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz ManaVerse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2 ManaVerse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz ManaVerse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets/scrollarea.cpp')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index 52372c385..cce45deee 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -1019,7 +1019,8 @@ Rect ScrollArea::getVerticalMarkerDimension() if (!mVBarVisible) return Rect(0, 0, 0, 0); - int length, pos; + int length; + int pos; int height; const int h2 = mShowButtons ? mScrollbarWidth : mMarkerSize / 2; @@ -1076,7 +1077,8 @@ Rect ScrollArea::getHorizontalMarkerDimension() if (!mHBarVisible) return Rect(0, 0, 0, 0); - int length, pos; + int length; + int pos; int width; const int w2 = mShowButtons ? mScrollbarWidth : mMarkerSize / 2; |