summaryrefslogtreecommitdiff
path: root/src/shortcutbase.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-15 19:46:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-15 23:35:48 +0300
commit243932ef169949917f17d3107e00f97886da0a14 (patch)
tree8f11d6e99b250ff480a32b04ea3bbb0ce9bc7f14 /src/shortcutbase.h
parent3658d5a5564db6f0854ec9378c485aef8acc8992 (diff)
downloadplus-243932ef169949917f17d3107e00f97886da0a14.tar.gz
plus-243932ef169949917f17d3107e00f97886da0a14.tar.bz2
plus-243932ef169949917f17d3107e00f97886da0a14.tar.xz
plus-243932ef169949917f17d3107e00f97886da0a14.zip
Fix code style.
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