Mercurial > hg > svcore
diff data/fileio/FileSource.cpp @ 764:95d4a59295b7 qt5
Fix typo in signal name
author | Chris Cannam |
---|---|
date | Tue, 12 Mar 2013 16:34:10 +0000 |
parents | 2b3a8ae04597 |
children | 12aff5a181bc 3cc81dbc31bb |
line wrap: on
line diff
--- a/data/fileio/FileSource.cpp Mon Mar 11 13:55:22 2013 +0000 +++ b/data/fileio/FileSource.cpp Tue Mar 12 16:34:10 2013 +0000 @@ -451,8 +451,8 @@ this, SLOT(replyFailed(QNetworkReply::NetworkError))); connect(m_reply, SIGNAL(finished()), this, SLOT(replyFinished())); - connect(m_reply, SIGNAL(metadataChanged()), - this, SLOT(metadataChanged())); + connect(m_reply, SIGNAL(metaDataChanged()), + this, SLOT(metaDataChanged())); connect(m_reply, SIGNAL(downloadProgress(qint64, qint64)), this, SLOT(downloadProgress(qint64, qint64))); } @@ -606,14 +606,14 @@ } void -FileSource::metadataChanged() +FileSource::metaDataChanged() { #ifdef DEBUG_FILE_SOURCE - std::cerr << "FileSource::metadataChanged" << std::endl; + std::cerr << "FileSource::metaDataChanged" << std::endl; #endif if (!m_reply) { - std::cerr << "WARNING: FileSource::metadataChanged() called without a reply object being known to us" << std::endl; + std::cerr << "WARNING: FileSource::metaDataChanged() called without a reply object being known to us" << std::endl; return; } @@ -624,7 +624,7 @@ QString location = m_reply->header (QNetworkRequest::LocationHeader).toString(); #ifdef DEBUG_FILE_SOURCE - std::cerr << "FileSource::metadataChanged: redirect to \"" + std::cerr << "FileSource::metaDataChanged: redirect to \"" << location << "\" received" << std::endl; #endif if (location != "") { @@ -654,12 +654,12 @@ .arg(m_reply->attribute (QNetworkRequest::HttpReasonPhraseAttribute).toString()); #ifdef DEBUG_FILE_SOURCE - std::cerr << "FileSource::metadataChanged: " + std::cerr << "FileSource::metaDataChanged: " << m_errorString << std::endl; #endif } else { #ifdef DEBUG_FILE_SOURCE - std::cerr << "FileSource::metadataChanged: " + std::cerr << "FileSource::metaDataChanged: " << m_lastStatus << std::endl; #endif m_contentType =