summaryrefslogtreecommitdiff
path: root/src/shortcutbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shortcutbase.h')
-rw-r--r--src/shortcutbase.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shortcutbase.h b/src/shortcutbase.h
index 50ea8a2ce..ffabed39f 100644
--- a/src/shortcutbase.h
+++ b/src/shortcutbase.h
@@ -73,7 +73,7 @@ class ShortcutBase notfinal
/**
* Returns the amount of shortcut items.
*/
- int getItemCount() A_WARN_UNUSED
+ int getItemCount() const A_WARN_UNUSED
{ return mMaxSize; }
/**
@@ -131,8 +131,6 @@ class ShortcutBase notfinal
int mItemSelected;
int mMaxSize;
unsigned char mItemColorSelected;
-
- int mLastDropIndex;
};
#endif // SHORTCUTBASE_H