summaryrefslogtreecommitdiff
path: root/src/gui/shortcut/itemshortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shortcut/itemshortcut.h')
-rw-r--r--src/gui/shortcut/itemshortcut.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h
index 4d7933b9f..1dd4640b2 100644
--- a/src/gui/shortcut/itemshortcut.h
+++ b/src/gui/shortcut/itemshortcut.h
@@ -89,7 +89,7 @@ class ItemShortcut final
/**
* Returns the item ID that is currently selected.
*/
- int getItemSelected() const A_WARN_UNUSED
+ int getItemSelected() const noexcept2 A_WARN_UNUSED
{ return mItemSelected; }
/**
@@ -127,13 +127,13 @@ class ItemShortcut final
/**
* Returns selected shortcut item ID.
*/
- int getSelectedItem() const A_WARN_UNUSED
+ int getSelectedItem() const noexcept2 A_WARN_UNUSED
{ return mItemSelected; }
/**
* 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; }
/**