summaryrefslogtreecommitdiff
path: root/src/gui/shortcut
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
commitb226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch)
tree25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/shortcut
parent1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff)
downloadplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz
plus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2
plus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz
plus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/shortcut')
-rw-r--r--src/gui/shortcut/spellshortcut.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcut/spellshortcut.h b/src/gui/shortcut/spellshortcut.h
index 694bf5fac..4342e082f 100644
--- a/src/gui/shortcut/spellshortcut.h
+++ b/src/gui/shortcut/spellshortcut.h
@@ -41,14 +41,14 @@ class SpellShortcut final
/**
* Destructor.
*/
- ~SpellShortcut();
+ ~SpellShortcut() A_CONST;
/**
* Load the configuration information.
*/
void load();
- unsigned int getSpellsCount() const A_WARN_UNUSED;
+ unsigned int getSpellsCount() const A_CONST A_WARN_UNUSED;
/**
* Set the item that is selected.