diff --git a/src/main.cpp b/src/main.cpp index 1081040..16c1f6f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,8 @@ #include "csapi/joining.h" #include "csapi/leaving.h" +#include "qqmlsortfilterproxymodel.h" + using namespace QMatrixClient; int main(int argc, char *argv[]) { @@ -32,6 +34,8 @@ int main(int argc, char *argv[]) { app.setQuitOnLastWindowClosed(false); + qmlRegisterType("SortFilterProxyModel", 0, + 2, "SortFilterProxyModel"); qmlRegisterType("Spectral", 0, 1, "ImageItem"); qmlRegisterType("Spectral", 0, 1, "Controller"); qmlRegisterType("Spectral", 0, 1, "AccountListModel");