|
|
|
@ -482,7 +482,6 @@ namespace NLGUI
|
|
|
|
|
if (Curls.size() < options.curlMaxConnections) {
|
|
|
|
|
if (!startCurlDownload(Curls.back()))
|
|
|
|
|
{
|
|
|
|
|
CLuaManager::getInstance().executeLuaScript("downloadedImage('"+this->_Id+"', '"+url+"', '"+dest+"')", true);
|
|
|
|
|
Curls.pop_back();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -779,8 +778,6 @@ namespace NLGUI
|
|
|
|
|
obj.LastModified = it->data->getLastModified();
|
|
|
|
|
|
|
|
|
|
CHttpCache::getInstance()->store(it->dest, obj);
|
|
|
|
|
|
|
|
|
|
CLuaManager::getInstance().executeLuaScript("downloadedImage('"+this->_Id+"', '"+it->url+"', '"+it->dest+"')", true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -815,7 +812,6 @@ namespace NLGUI
|
|
|
|
|
{
|
|
|
|
|
setImage(it->imgs[i].Image, it->dest, it->imgs[i].Type);
|
|
|
|
|
setImageSize(it->imgs[i].Image, it->imgs[i].Style);
|
|
|
|
|
CLuaManager::getInstance().executeLuaScript("downloadedImage('"+this->_Id+"', '"+it->url+"', '"+it->dest+"')", true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -4460,7 +4456,6 @@ namespace NLGUI
|
|
|
|
|
{
|
|
|
|
|
newImage->setRenderLayer(getRenderLayer()+1);
|
|
|
|
|
image = finalUrl;
|
|
|
|
|
CLuaManager::getInstance().executeLuaScript("downloadedImage('"+this->_Id+"', '"+image+"', '"+finalUrl+"')", true);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|