Reversed if clause

This commit is contained in:
Matthew Mongeau 2011-09-23 11:06:03 -04:00
parent 9257fe3c93
commit ff0a6e769b
1 changed files with 3 additions and 3 deletions

View File

@ -11,11 +11,11 @@ UnsupportedContentHandler::UnsupportedContentHandler(WebPage *page, QNetworkRepl
void UnsupportedContentHandler::handleUnsupportedContent() {
QVariant contentMimeType = m_reply->header(QNetworkRequest::ContentTypeHeader);
if(!contentMimeType.isNull()) {
if(contentMimeType.isNull()) {
this->finish(false);
} else {
this->loadUnsupportedContent();
this->finish(true);
} else {
this->finish(false);
}
this->deleteLater();
}