Mercurial > hg > svgui
comparison layer/ImageLayer.cpp @ 322:07aa52466142
* FileSource -> default to showProgress = false
author | Chris Cannam |
---|---|
date | Thu, 01 Nov 2007 10:45:28 +0000 |
parents | 984c1975f1ff |
children | 2f83b6e3b8ca 64e84e5efb76 |
comparison
equal
deleted
inserted
replaced
321:973a0272b712 | 322:07aa52466142 |
---|---|
877 | 877 |
878 if (m_remoteFiles.find(img) != m_remoteFiles.end()) { | 878 if (m_remoteFiles.find(img) != m_remoteFiles.end()) { |
879 return; | 879 return; |
880 } | 880 } |
881 | 881 |
882 FileSource *rf = new FileSource(img); | 882 FileSource *rf = new FileSource(img, true); |
883 if (rf->isOK()) { | 883 if (rf->isOK()) { |
884 std::cerr << "ok, adding it (local filename = " << rf->getLocalFilename().toStdString() << ")" << std::endl; | 884 std::cerr << "ok, adding it (local filename = " << rf->getLocalFilename().toStdString() << ")" << std::endl; |
885 m_remoteFiles[img] = rf; | 885 m_remoteFiles[img] = rf; |
886 connect(rf, SIGNAL(ready()), this, SLOT(remoteFileReady())); | 886 connect(rf, SIGNAL(ready()), this, SLOT(remoteFileReady())); |
887 } else { | 887 } else { |