Mercurial > hg > svcore
diff data/fileio/FileSource.cpp @ 325:82a2d3161e14
* Document FileSource
author | Chris Cannam |
---|---|
date | Thu, 01 Nov 2007 12:34:17 +0000 |
parents | c324d410b096 |
children | 1d656dcda8ef |
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp Thu Nov 01 10:45:28 2007 +0000 +++ b/data/fileio/FileSource.cpp Thu Nov 01 12:34:17 2007 +0000 @@ -85,6 +85,11 @@ init(showProgress); } } + + if (!isRemote()) { + emit statusAvailable(); + emit ready(); + } } FileSource::FileSource(QUrl url, bool showProgress) : @@ -481,7 +486,8 @@ std::cerr << "FileSource::responseHeaderReceived: " << m_lastStatus << std::endl; if (resp.hasContentType()) m_contentType = resp.contentType(); - } + } + emit statusAvailable(); } void