adding loop to the newVideo function
This commit is contained in:
parent
19fbb392d7
commit
d6067bfa99
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue