diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-28 15:46:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-28 16:41:19 +0300 |
commit | f146cd42ce84a08879eb286ecd2ed2aa8ad82300 (patch) | |
tree | f689f832f54f361be8cff61deb47c0e32febd486 /src/gui/widgets/shortcutcontainer.cpp | |
parent | 409cee51fe11e2495a2741226432666a8702dceb (diff) | |
download | manaverse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.gz manaverse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.bz2 manaverse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.tar.xz manaverse-f146cd42ce84a08879eb286ecd2ed2aa8ad82300.zip |
fix code style.
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/shortcutcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp index d3781b421..0d9aa64a6 100644 --- a/src/gui/widgets/shortcutcontainer.cpp +++ b/src/gui/widgets/shortcutcontainer.cpp @@ -61,7 +61,7 @@ void ShortcutContainer::widgetResized(const Event &event A_UNUSED) if (mGridWidth < 1) mGridWidth = 1; - mGridHeight = mMaxItems / mGridWidth; + mGridHeight = mMaxItems / static_cast<unsigned int>(mGridWidth); if (mMaxItems % mGridWidth != 0 || mGridHeight < 1) ++mGridHeight; |