Moved Pexels API Requests to API Proxy. Closes #11
This commit is contained in:
@@ -123,7 +123,7 @@ void KomplexSearchModel::downloadMedia(QString fileLocation, QString fileUrl)
|
||||
return;
|
||||
}
|
||||
|
||||
if(!file.write(data) != data.length())
|
||||
if(file.write(data) != data.length())
|
||||
{
|
||||
file.close();
|
||||
qWarning() << QStringLiteral("Could not write file to download").arg(type.toUpper());
|
||||
|
||||
Reference in New Issue
Block a user