summaryrefslogtreecommitdiff
path: root/src/plugins/help
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2012-03-29 17:58:34 +0200
committerEike Ziller <eike.ziller@nokia.com>2012-03-29 17:58:34 +0200
commit63244127a88010abe98858be8d42c93f1755b537 (patch)
treea1f3326ccf2e74853a1b8cf20b4b1a5239be01ee /src/plugins/help
parent2a74097b54e27ff21f8c6d2723e76761c31e34d0 (diff)
parentc9bd695a90350b8741b6491698308949af22b08a (diff)
downloadqt-creator-63244127a88010abe98858be8d42c93f1755b537.tar.gz
Merge remote-tracking branch 'origin/2.5'
Conflicts: src/libs/symbianutils/symbianutils.qbs src/libs/utils/utils.qbs src/libs/zeroconf/zeroconf.qbs Change-Id: I4c888d8e58ec68dc4638b041b0c6ee743b809ab4
Diffstat (limited to 'src/plugins/help')
-rw-r--r--src/plugins/help/helpviewer_qwv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/help/helpviewer_qwv.cpp b/src/plugins/help/helpviewer_qwv.cpp
index 9f0d4cbf0e..a8d1cca8eb 100644
--- a/src/plugins/help/helpviewer_qwv.cpp
+++ b/src/plugins/help/helpviewer_qwv.cpp
@@ -91,6 +91,7 @@ HelpNetworkReply::HelpNetworkReply(const QNetworkRequest &request,
setHeader(QNetworkRequest::ContentLengthHeader, QByteArray::number(dataLength));
QTimer::singleShot(0, this, SIGNAL(metaDataChanged()));
QTimer::singleShot(0, this, SIGNAL(readyRead()));
+ QTimer::singleShot(0, this, SIGNAL(finished()));
}
qint64 HelpNetworkReply::readData(char *buffer, qint64 maxlen)
@@ -100,8 +101,6 @@ qint64 HelpNetworkReply::readData(char *buffer, qint64 maxlen)
qMemCopy(buffer, data.constData(), len);
data.remove(0, len);
}
- if (!data.length())
- QTimer::singleShot(0, this, SIGNAL(finished()));
return len;
}