fixed itaginfo.json path
This commit is contained in:
parent
51e45e27ae
commit
7f82e8cec8
|
@ -58,7 +58,7 @@ void YoutubeDownload::evalVideoInformation(Download *, QBuffer *videoInfoBuffer)
|
|||
{
|
||||
if(m_itagInfo.isEmpty()) {
|
||||
// allow an external config file to be used instead of built-in values
|
||||
QString path = ConfigFile::locateConfigFile(QStringLiteral("videodownloader"), QStringLiteral("itaginfo.json"));
|
||||
QString path = ConfigFile::locateConfigFile(QStringLiteral("videodownloader"), QStringLiteral("json/itaginfo.json"));
|
||||
if(path.isEmpty()) {
|
||||
path = QStringLiteral(":/jsonobjects/itaginfo");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue