diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_other.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/shortcutcontainer.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/shortcutcontainer.h | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp index 8a02b64f9..c974a3aa5 100644 --- a/src/gui/setup_other.cpp +++ b/src/gui/setup_other.cpp @@ -111,8 +111,9 @@ Setup_Other::Setup_Other(const Widget2 *const widget) : new SetupItemTextField(_("Crazy move A program"), "", "crazyMoveProgram", this, "crazyMoveProgramEvent"); - new SetupItemCheckBox(_("Mouse relative moves (good for touch interfaces)"), - "", "mouseDirectionMove", this, "mouseDirectionMoveEvent"); + new SetupItemCheckBox(_("Mouse relative moves " + "(good for touch interfaces)"), "", "mouseDirectionMove", + this, "mouseDirectionMoveEvent"); new SetupItemLabel(_("Player"), "", this); diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp index 245ec90b5..c421a4bdb 100644 --- a/src/gui/widgets/shortcutcontainer.cpp +++ b/src/gui/widgets/shortcutcontainer.cpp @@ -112,7 +112,7 @@ void ShortcutContainer::drawBackground(Graphics *g) } } -void ShortcutContainer::widgetMoved(const gcn::Event& event) +void ShortcutContainer::widgetMoved(const gcn::Event& event A_UNUSED) { mRedraw = true; } diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h index 568dc451b..b331782fb 100644 --- a/src/gui/widgets/shortcutcontainer.h +++ b/src/gui/widgets/shortcutcontainer.h @@ -96,7 +96,7 @@ class ShortcutContainer : public gcn::Widget, void drawBackground(Graphics *g); void setRedraw(bool b) - { mRedraw = true; } + { mRedraw = b; } protected: /** |