summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/spellshortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shortcut/spellshortcut.h')
-rw-r--r--src/gui/shortcut/spellshortcut.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/shortcut/spellshortcut.h b/src/gui/shortcut/spellshortcut.h
index fda7d46f1..fca419c61 100644
--- a/src/gui/shortcut/spellshortcut.h
+++ b/src/gui/shortcut/spellshortcut.h
@@ -55,19 +55,19 @@ class SpellShortcut final
*
* @param itemId The ID of the item that is to be assigned.
*/
- void setItemSelected(const int itemId)
+ void setItemSelected(const int itemId) noexcept2
{ mItemSelected = itemId; }
/**
* A flag to check if the item is selected.
*/
- bool isItemSelected() const A_WARN_UNUSED
+ bool isItemSelected() const noexcept2 A_WARN_UNUSED
{ return mItemSelected > -1; }
/**
* Returns selected shortcut item ID.
*/
- int getSelectedItem() const A_WARN_UNUSED
+ int getSelectedItem() const noexcept2 A_WARN_UNUSED
{ return mItemSelected; }
/**