diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-07 19:22:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-07 21:38:21 +0300 |
commit | e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch) | |
tree | f7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/gui/widgets/button.cpp | |
parent | ffeffa2314dbe03e0ced58e0c465760b54908690 (diff) | |
download | manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2 manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip |
fix more style, add consts.
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r-- | src/gui/widgets/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 83c5f2c95..16f5b7db3 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -264,7 +264,7 @@ void Button::updateAlpha() Skin *skin = button[mode]; if (skin) { - ImageRect &rect = skin->getBorder(); + const ImageRect &rect = skin->getBorder(); Image *image = rect.grid[a]; if (image) image->setAlpha(mAlpha); |