Actually expose the track info to the JavaScript object

This commit is contained in:
Martchus 2020-10-01 20:55:42 +02:00
parent 5d7dbb01a3
commit 72ed928667
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ TAGEDITOR_JS_VALUE TagEditorObject::parseFileInfo(const QString &fileName)
trackObject.setProperty(QStringLiteral("description"), QString::fromUtf8(track.description().data()));
tracksObject.setProperty(trackIndex, trackObject TAGEDITOR_JS_READONLY);
}
fileInfoObject.setProperty(QStringLiteral("tracks"), tracksObject TAGEDITOR_JS_READONLY);
return fileInfoObject;
}