|
|
@ -345,7 +345,7 @@ void MainWidget::getImageFromURL(KURL url) {
|
|
|
|
TQString filename; // prevent overwriting previous local file with current remote one
|
|
|
|
TQString filename; // prevent overwriting previous local file with current remote one
|
|
|
|
if (!url.isLocalFile())
|
|
|
|
if (!url.isLocalFile())
|
|
|
|
{ // download to temporary file
|
|
|
|
{ // download to temporary file
|
|
|
|
if (!KIO::NetAccess::download(url,filename,this))
|
|
|
|
if (!TDEIO::NetAccess::download(url,filename,this))
|
|
|
|
emit signalChangeStatusbar(i18n("Selected URL is not a valid image."));
|
|
|
|
emit signalChangeStatusbar(i18n("Selected URL is not a valid image."));
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -369,7 +369,7 @@ void MainWidget::getImageFromURL(KURL url) {
|
|
|
|
emit signalChangeStatusbar(i18n("File %1 loaded.").arg(filename));
|
|
|
|
emit signalChangeStatusbar(i18n("File %1 loaded.").arg(filename));
|
|
|
|
|
|
|
|
|
|
|
|
if (!url.isLocalFile())
|
|
|
|
if (!url.isLocalFile())
|
|
|
|
KIO::NetAccess::removeTempFile(filename);
|
|
|
|
TDEIO::NetAccess::removeTempFile(filename);
|
|
|
|
|
|
|
|
|
|
|
|
Options *o=new Options();
|
|
|
|
Options *o=new Options();
|
|
|
|
if (!preserveCheck->isChecked())
|
|
|
|
if (!preserveCheck->isChecked())
|
|
|
|