From e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Apr 2013 19:22:02 +0300 Subject: fix more style, add consts. --- src/gui/widgets/checkbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/checkbox.cpp') diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index ac0a226ee..77f81f72b 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -112,7 +112,7 @@ void CheckBox::updateAlpha() mAlpha = alpha; if (mSkin) { - ImageRect &rect = mSkin->getBorder(); + const ImageRect &rect = mSkin->getBorder(); for (int a = 0; a < 6; a ++) { Image *const image = rect.grid[a]; -- cgit v1.2.3-70-g09d2