Mercurial > hg > svgui
changeset 322:07aa52466142
* FileSource -> default to showProgress = false
author | Chris Cannam |
---|---|
date | Thu, 01 Nov 2007 10:45:28 +0000 |
parents | 973a0272b712 |
children | 267586900360 |
files | layer/ImageLayer.cpp widgets/ImageDialog.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/ImageLayer.cpp Thu Oct 25 15:45:12 2007 +0000 +++ b/layer/ImageLayer.cpp Thu Nov 01 10:45:28 2007 +0000 @@ -879,7 +879,7 @@ return; } - FileSource *rf = new FileSource(img); + FileSource *rf = new FileSource(img, true); if (rf->isOK()) { std::cerr << "ok, adding it (local filename = " << rf->getLocalFilename().toStdString() << ")" << std::endl; m_remoteFiles[img] = rf;
--- a/widgets/ImageDialog.cpp Thu Oct 25 15:45:12 2007 +0000 +++ b/widgets/ImageDialog.cpp Thu Nov 01 10:45:28 2007 +0000 @@ -186,7 +186,7 @@ tr("The URL scheme \"%1\" is not supported") .arg(url.scheme())); } else { - m_remoteFile = new FileSource(url); + m_remoteFile = new FileSource(url, true); m_remoteFile->waitForData(); if (!m_remoteFile->isOK()) { QMessageBox::critical(this, tr("File download failed"),