summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/shortcut/itemshortcut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h
index 1dd4640b2..8bd452c35 100644
--- a/src/gui/shortcut/itemshortcut.h
+++ b/src/gui/shortcut/itemshortcut.h
@@ -83,7 +83,7 @@ class ItemShortcut final
/**
* Returns the amount of shortcut items.
*/
- static int getItemCount() A_WARN_UNUSED
+ constexpr static int getItemCount() A_WARN_UNUSED
{ return SHORTCUT_ITEMS; }
/**