From d6067bfa9932571532e57bb526dcca9e64d5a3a8 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 12 Oct 2022 14:46:33 -0500 Subject: [PATCH] adding loop to the newVideo function --- src/videosqlmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/videosqlmodel.cpp b/src/videosqlmodel.cpp index c03abc7..3ed661a 100644 --- a/src/videosqlmodel.cpp +++ b/src/videosqlmodel.cpp @@ -89,6 +89,7 @@ void VideoSqlModel::newVideo(const QUrl &filePath) { QString title = fileInfo.baseName(); recordData.setValue("title", title); recordData.setValue("filePath", filePath); + recordData.setValue("loop", 0); if (insertRecord(rows, recordData)) { submitAll();