summary refs log tree commit diff
path: root/src/UserDirectoryModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UserDirectoryModel.h')
-rw-r--r--src/UserDirectoryModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UserDirectoryModel.h b/src/UserDirectoryModel.h
index f0416ecf..ffa9ae93 100644
--- a/src/UserDirectoryModel.h
+++ b/src/UserDirectoryModel.h
@@ -5,6 +5,7 @@
 #pragma once
 
 #include <QAbstractListModel>
+#include <QQmlEngine>
 #include <QString>
 #include <string>
 #include <vector>
@@ -26,6 +27,7 @@ signals:
 class UserDirectoryModel : public QAbstractListModel
 {
     Q_OBJECT
+    QML_ELEMENT
 
     Q_PROPERTY(bool searchingUsers READ searchingUsers NOTIFY searchingUsersChanged)