Mercurial > hg > svgui
comparison layer/ImageLayer.cpp @ 344:832d246b327b
* better progress reporting in FileSource
* fix set-to-default for audio dials with mappers
author | Chris Cannam |
---|---|
date | Fri, 04 Jan 2008 17:08:10 +0000 |
parents | 2f83b6e3b8ca |
children | 020c485aa7e0 |
comparison
equal
deleted
inserted
replaced
343:1b6879d03cb6 | 344:832d246b327b |
---|---|
878 | 878 |
879 if (m_remoteFiles.find(img) != m_remoteFiles.end()) { | 879 if (m_remoteFiles.find(img) != m_remoteFiles.end()) { |
880 return; | 880 return; |
881 } | 881 } |
882 | 882 |
883 FileSource *rf = new FileSource(img, true); | 883 FileSource *rf = new FileSource(img, FileSource::ProgressDialog); |
884 if (rf->isOK()) { | 884 if (rf->isOK()) { |
885 std::cerr << "ok, adding it (local filename = " << rf->getLocalFilename().toStdString() << ")" << std::endl; | 885 std::cerr << "ok, adding it (local filename = " << rf->getLocalFilename().toStdString() << ")" << std::endl; |
886 m_remoteFiles[img] = rf; | 886 m_remoteFiles[img] = rf; |
887 connect(rf, SIGNAL(ready()), this, SLOT(remoteFileReady())); | 887 connect(rf, SIGNAL(ready()), this, SLOT(remoteFileReady())); |
888 } else { | 888 } else { |