diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:48:31 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:48:31 -0400 |
commit | 294b5ec5834affa57641475946b8d2aeca53c577 (patch) | |
tree | ca25b634d0f24ab5b1fc38eb805e72e0e993e0f1 /src/backend/bookshelfmodel/categoryitem.h | |
parent | e8a196082586bb68e0bf254a8f6f4b8f39071f32 (diff) |
Imported Upstream version 2.4
Diffstat (limited to 'src/backend/bookshelfmodel/categoryitem.h')
-rw-r--r-- | src/backend/bookshelfmodel/categoryitem.h | 3 |
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; } |