summaryrefslogtreecommitdiff
path: root/src/gui/shortcut
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-09-30 03:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-30 03:30:11 +0300
commitbf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch)
tree46018d5b85c669961fb2fe6ab8af06f432139999 /src/gui/shortcut
parentfdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff)
downloadplus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz
plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip
Add missing static keywords
Diffstat (limited to 'src/gui/shortcut')
-rw-r--r--src/gui/shortcut/spellshortcut.cpp2
-rw-r--r--src/gui/shortcut/spellshortcut.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcut/spellshortcut.cpp b/src/gui/shortcut/spellshortcut.cpp
index cdf7d6656..5ef1d56da 100644
--- a/src/gui/shortcut/spellshortcut.cpp
+++ b/src/gui/shortcut/spellshortcut.cpp
@@ -57,7 +57,7 @@ void SpellShortcut::load()
}
}
-unsigned int SpellShortcut::getSpellsCount() const
+unsigned int SpellShortcut::getSpellsCount()
{
return SPELL_SHORTCUT_ITEMS;
}
diff --git a/src/gui/shortcut/spellshortcut.h b/src/gui/shortcut/spellshortcut.h
index 31c201872..c2facaf0d 100644
--- a/src/gui/shortcut/spellshortcut.h
+++ b/src/gui/shortcut/spellshortcut.h
@@ -48,7 +48,7 @@ class SpellShortcut final
*/
void load();
- unsigned int getSpellsCount() const A_CONST A_WARN_UNUSED;
+ static unsigned int getSpellsCount();
/**
* Set the item that is selected.