summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qicclient/catalog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qicclient/catalog.hxx b/qicclient/catalog.hxx
index 616f6fb..2c7274c 100644
--- a/qicclient/catalog.hxx
+++ b/qicclient/catalog.hxx
@@ -13,7 +13,7 @@ namespace QICClient {
Q_OBJECT
public:
- Catalog(QObject* parent = nullptr) : QObject{parent} {}
+ Catalog(QObject* parent = nullptr) : QAbstractListModel{parent} {}
Catalog(struct icclient_catalog* catalog, QObject* parent = nullptr);
~Catalog();
int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE;