summaryrefslogtreecommitdiff
path: root/src/backend/bookshelfmodel/categoryitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/bookshelfmodel/categoryitem.h')
-rw-r--r--src/backend/bookshelfmodel/categoryitem.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/bookshelfmodel/categoryitem.h b/src/backend/bookshelfmodel/categoryitem.h
index fcff12b..879895f 100644
--- a/src/backend/bookshelfmodel/categoryitem.h
+++ b/src/backend/bookshelfmodel/categoryitem.h
@@ -34,13 +34,7 @@ class CategoryItem: public Item {
return m_category;
}
- inline QString name() const {
- return BtBookshelfModel::categoryName(m_category);
- }
-
- inline QIcon icon() const {
- return BtBookshelfModel::categoryIcon(m_category);
- }
+ QVariant data(int role = Qt::DisplayRole) const;
inline bool fitFor(CSwordModuleInfo *module) const {
return module->category() == m_category;