fixed itaginfo.json path

This commit is contained in:
Martchus 2015-09-22 01:57:19 +02:00
parent 51e45e27ae
commit 7f82e8cec8
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}