Manually register SortFilterProxyModel.
This commit is contained in:
parent
4c0accada9
commit
d35405696f
|
@ -17,6 +17,8 @@
|
||||||
#include "csapi/joining.h"
|
#include "csapi/joining.h"
|
||||||
#include "csapi/leaving.h"
|
#include "csapi/leaving.h"
|
||||||
|
|
||||||
|
#include "qqmlsortfilterproxymodel.h"
|
||||||
|
|
||||||
using namespace QMatrixClient;
|
using namespace QMatrixClient;
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
@ -32,6 +34,8 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
app.setQuitOnLastWindowClosed(false);
|
app.setQuitOnLastWindowClosed(false);
|
||||||
|
|
||||||
|
qmlRegisterType<qqsfpm::QQmlSortFilterProxyModel>("SortFilterProxyModel", 0,
|
||||||
|
2, "SortFilterProxyModel");
|
||||||
qmlRegisterType<ImageItem>("Spectral", 0, 1, "ImageItem");
|
qmlRegisterType<ImageItem>("Spectral", 0, 1, "ImageItem");
|
||||||
qmlRegisterType<Controller>("Spectral", 0, 1, "Controller");
|
qmlRegisterType<Controller>("Spectral", 0, 1, "Controller");
|
||||||
qmlRegisterType<AccountListModel>("Spectral", 0, 1, "AccountListModel");
|
qmlRegisterType<AccountListModel>("Spectral", 0, 1, "AccountListModel");
|
||||||
|
|
Loading…
Reference in New Issue