summaryrefslogtreecommitdiff
path: root/src/backend/bookshelfmodel/categoryitem.h
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:31 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:31 -0400
commit294b5ec5834affa57641475946b8d2aeca53c577 (patch)
treeca25b634d0f24ab5b1fc38eb805e72e0e993e0f1 /src/backend/bookshelfmodel/categoryitem.h
parente8a196082586bb68e0bf254a8f6f4b8f39071f32 (diff)
Imported Upstream version 2.4
Diffstat (limited to 'src/backend/bookshelfmodel/categoryitem.h')
-rw-r--r--src/backend/bookshelfmodel/categoryitem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/bookshelfmodel/categoryitem.h b/src/backend/bookshelfmodel/categoryitem.h
index 40820a2..fcff12b 100644
--- a/src/backend/bookshelfmodel/categoryitem.h
+++ b/src/backend/bookshelfmodel/categoryitem.h
@@ -19,6 +19,7 @@
#include "backend/bookshelfmodel/btbookshelfmodel.h"
#include "backend/drivers/cswordmoduleinfo.h"
+
namespace BookshelfModel {
class CategoryItem: public Item {
@@ -41,7 +42,7 @@ class CategoryItem: public Item {
return BtBookshelfModel::categoryIcon(m_category);
}
- inline bool fitFor(CSwordModuleInfo *module) {
+ inline bool fitFor(CSwordModuleInfo *module) const {
return module->category() == m_category;
}