diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-26 20:08:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-26 20:08:06 +0300 |
commit | d60eec2c2cd453ecbaee7883a272479792875465 (patch) | |
tree | e69ce19116c4d7eb043c33bc577866959bc87b43 /src/gui/widgets/window.cpp | |
parent | 5560a44ff5beea4fc2b88a589a3f915b9d0555d2 (diff) | |
download | mv-d60eec2c2cd453ecbaee7883a272479792875465.tar.gz mv-d60eec2c2cd453ecbaee7883a272479792875465.tar.bz2 mv-d60eec2c2cd453ecbaee7883a272479792875465.tar.xz mv-d60eec2c2cd453ecbaee7883a272479792875465.zip |
fix code style more.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 053c60875..0619a85a9 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -360,7 +360,7 @@ void Window::setLocationHorisontallyRelativeTo(const gcn::Widget *const widget) - mDimension.width) / 2 - x), 0); } -void Window::setLocationRelativeTo(const ImageRect::ImagePosition position, +void Window::setLocationRelativeTo(const ImageRect::ImagePosition &position, int offsetX, int offsetY) { if (position == ImageRect::UPPER_LEFT) @@ -940,7 +940,7 @@ void Window::setDefaultSize() } void Window::setDefaultSize(int defaultWidth, int defaultHeight, - const ImageRect::ImagePosition position, + const ImageRect::ImagePosition &position, const int offsetX, const int offsetY) { int x = 0, y = 0; |