diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/gui/widgets/shortcutcontainer.h | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.h')
-rw-r--r-- | src/gui/widgets/shortcutcontainer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h index f4851cf63..7cb51cbc5 100644 --- a/src/gui/widgets/shortcutcontainer.h +++ b/src/gui/widgets/shortcutcontainer.h @@ -81,13 +81,13 @@ class ShortcutContainer : public gcn::Widget, */ virtual void mouseReleased(gcn::MouseEvent &event) override = 0; - int getMaxItems() const + int getMaxItems() const A_WARN_UNUSED { return mMaxItems; } - int getBoxWidth() const + int getBoxWidth() const A_WARN_UNUSED { return mBoxWidth; } - int getBoxHeight() const + int getBoxHeight() const A_WARN_UNUSED { return mBoxHeight; } protected: @@ -98,7 +98,8 @@ class ShortcutContainer : public gcn::Widget, * @param pointY Y coordinate of the point. * @return index on success, -1 on failure. */ - int getIndexFromGrid(const int pointX, const int pointY) const; + int getIndexFromGrid(const int pointX, + const int pointY) const A_WARN_UNUSED; Image *mBackgroundImg; static float mAlpha; |