fixing bug in initial songs db, items not dragging ontop of screen
This commit is contained in:
parent
332c41de1b
commit
036f83ecfe
3 changed files with 22 additions and 5 deletions
|
@ -195,9 +195,14 @@ Item {
|
|||
target: songListItem
|
||||
x: x
|
||||
y: y
|
||||
width: width
|
||||
height: height
|
||||
}
|
||||
ParentChange {
|
||||
target: videoListItem
|
||||
parent: rootApp.overlay
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
@ -411,6 +416,12 @@ Item {
|
|||
target: videoListItem
|
||||
x: x
|
||||
y: y
|
||||
width: width
|
||||
height: height
|
||||
}
|
||||
ParentChange {
|
||||
target: videoListItem
|
||||
parent: rootApp.overlay
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -44,17 +44,18 @@ static void createTable()
|
|||
|
||||
query.exec(
|
||||
"INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
||||
"background, backgroundType) VALUES ('10,000 Reasons', '10,000 reasons "
|
||||
"background, backgroundType, textAlignment) VALUES ('10,000 Reasons', '10,000 reasons "
|
||||
"for my heart to sing', 'Matt Redman', '13470183', '', '', '', '', 'center')");
|
||||
qDebug() << query.lastQuery();
|
||||
query.exec("INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
||||
"background, backgroundType) VALUES ('River', 'Im going down to "
|
||||
"background, backgroundType, textAlignment) VALUES ('River', 'Im going down to "
|
||||
"the river', 'Jordan Feliz', '13470183', '', '', '', '', 'center')");
|
||||
query.exec(
|
||||
"INSERT INTO songs (title, lyrics, author, ccli, audio, vorder, "
|
||||
"background, backgroundType) VALUES ('Marvelous Light', 'Into marvelous "
|
||||
"background, backgroundType, textAlignment) VALUES ('Marvelous Light', 'Into marvelous "
|
||||
"light Im running', 'Chris Tomlin', '13470183', '', '', '', '', 'center')");
|
||||
|
||||
qDebug() << query.lastQuery();
|
||||
query.exec("select * from songs");
|
||||
qDebug() << query.lastQuery();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue