summaryrefslogtreecommitdiff
path: root/src/dropshortcut.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/dropshortcut.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
plus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/dropshortcut.h')
-rw-r--r--src/dropshortcut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dropshortcut.h b/src/dropshortcut.h
index b4450127f..85c0b6620 100644
--- a/src/dropshortcut.h
+++ b/src/dropshortcut.h
@@ -71,7 +71,7 @@ class DropShortcut final
/**
* Returns the amount of shortcut items.
*/
- int getItemCount() const A_WARN_UNUSED
+ static int getItemCount() A_WARN_UNUSED
{ return DROP_SHORTCUT_ITEMS; }
/**