Commit f7850cfe authored by Yerrey Dev's avatar Yerrey Dev
Browse files

Fix attempts to load track data with no QUrl

parent fe5f08cb
Pipeline #129420 passed with stage
in 3 minutes and 48 seconds
......@@ -362,7 +362,7 @@ Kirigami.Page {
}
onTrackTypeChanged: {
if (ElisaApplication.musicManager && trackType !== undefined) {
if (ElisaApplication.musicManager && trackType !== undefined && fileUrl.toString().length !== 0) {
if (databaseId !== 0) {
metaDataModel.initializeByIdAndUrl(trackType, databaseId, fileUrl)
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment