From 31d668b1e3bede0b1737a31b2418e7b6990a5af8 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 22 Sep 2022 06:37:53 -0500 Subject: [PATCH] not building yet --- src/main.cpp | 2 +- src/pressqlmodel.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 429295c..537c633 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) qmlRegisterType("org.presenter", 1, 0, "SongSqlModel"); qmlRegisterType("org.presenter", 1, 0, "VideoSqlModel"); qmlRegisterType("org.presenter", 1, 0, "ImageSqlModel"); - qmlRegisterType("org.presenter", 1, 0, "PresSqlModel"); + // qmlRegisterType("org.presenter", 1, 0, "PresSqlModel"); qmlRegisterType("org.presenter", 1, 0, "ServiceItemModel"); qmlRegisterSingletonInstance("org.presenter", 1, 0, "SlideObject", slide.get()); diff --git a/src/pressqlmodel.cpp b/src/pressqlmodel.cpp index d6b86f9..b7d42c6 100644 --- a/src/pressqlmodel.cpp +++ b/src/pressqlmodel.cpp @@ -157,6 +157,7 @@ void PresSqlModel::updateFilePath(const int &row, const QUrl &filePath) { emit filePathChanged(); } +// Here we grab the presentation from it's row id QVariantMap PresSqlModel::getPres(const int &row) { // qDebug() << "Row we are getting is " << row; // QUrl pres;