summaryrefslogtreecommitdiff
path: root/src/gui/setup_input.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/gui/setup_input.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadplus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
plus-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/setup_input.h')
-rw-r--r--src/gui/setup_input.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/setup_input.h b/src/gui/setup_input.h
index 188be4a26..186c094be 100644
--- a/src/gui/setup_input.h
+++ b/src/gui/setup_input.h
@@ -32,6 +32,7 @@
class Button;
class ListBox;
+class KeyListModel;
class TabStrip;
struct SetupActionData;
@@ -77,9 +78,9 @@ class Setup_Input final : public SetupTab
*/
void keyUnresolved();
- int keyToSetupData(const int index) const;
+ int keyToSetupData(const int index) const A_WARN_UNUSED;
- std::string keyToString(const int index) const;
+ std::string keyToString(const int index) const A_WARN_UNUSED;
private:
void fixTranslations() const;
@@ -88,7 +89,7 @@ class Setup_Input final : public SetupTab
const int actionStart, const int actionEnd,
const std::string &text) const;
- class KeyListModel *mKeyListModel;
+ KeyListModel *mKeyListModel;
ListBox *mKeyList;
Button *mAssignKeyButton;