summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-03 15:31:12 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-03 15:31:12 +0300
commitd69ea30539a6fe816dd6e1d943a0a2adcbd95c19 (patch)
tree8bc8b6b7826a639ca9e516a0f8939afe83d91d9f /src/gui/widgets
parentd43ac6456a95aa3d204272f9bada5d5a28f85072 (diff)
downloadplus-d69ea30539a6fe816dd6e1d943a0a2adcbd95c19.tar.gz
plus-d69ea30539a6fe816dd6e1d943a0a2adcbd95c19.tar.bz2
plus-d69ea30539a6fe816dd6e1d943a0a2adcbd95c19.tar.xz
plus-d69ea30539a6fe816dd6e1d943a0a2adcbd95c19.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/shortcutcontainer.cpp2
-rw-r--r--src/gui/widgets/shortcutcontainer.h2
2 files changed, 2 insertions, 2 deletions
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:
/**