diff options
Diffstat (limited to 'src/spellshortcut.h')
-rw-r--r-- | src/spellshortcut.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellshortcut.h b/src/spellshortcut.h index 7e17c9f57..b26211fc4 100644 --- a/src/spellshortcut.h +++ b/src/spellshortcut.h @@ -55,7 +55,7 @@ class SpellShortcut * * @param itemId The ID of the item that is to be assigned. */ - void setItemSelected(int itemId) + void setItemSelected(const int itemId) { mItemSelected = itemId; } /** @@ -75,7 +75,7 @@ class SpellShortcut * * @param index Index of the shortcut item. */ - int getItem(int index) const + int getItem(const int index) const { return mItems[index]; } private: |