adding a proxyModel

This commit is contained in:
Chris Cochrun 2023-02-17 09:38:20 -06:00
parent 1c1140915e
commit 13c8704bdc
4 changed files with 25 additions and 2 deletions

View file

@ -172,7 +172,7 @@ int main(int argc, char *argv[])
qmlRegisterType<MpvObject>("mpv", 1, 0, "MpvObject");
//register our models
qmlRegisterType<SongSqlModel>("org.presenter", 1, 0, "SongSqlModel");
qmlRegisterType<SongProxyModel>("org.presenter", 1, 0, "SongSqlModel");
qmlRegisterType<VideoSqlModel>("org.presenter", 1, 0, "VideoSqlModel");
qmlRegisterType<ImageSqlModel>("org.presenter", 1, 0, "ImageSqlModel");
qmlRegisterType<PresentationSqlModel>("org.presenter", 1, 0, "PresentationSqlModel");