[Qt][WK2] QtFileDownloader ctor shouldn't call QtFileDownloader::onReadyRead()
authorjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Sep 2011 15:06:36 +0000 (15:06 +0000)
committerjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Sep 2011 15:06:36 +0000 (15:06 +0000)
commitaf39153147c0816a0cc6dc3582c99612484be45d
treec548656f1711dc5bfb39bb1cdec7da894469787f
parent77de4ff497c9448759e8146b5f90632e5a5e6566
[Qt][WK2] QtFileDownloader ctor shouldn't call QtFileDownloader::onReadyRead()
https://bugs.webkit.org/show_bug.cgi?id=68696

Reviewed by Andreas Kling.

Instead of connecting signals and calling QtFileDownloader::onReadyRead()
on its constructor, QtFileDownloader will now handle this in start().

* WebProcess/Downloads/qt/DownloadQt.cpp:
(WebKit::Download::start):
* WebProcess/Downloads/qt/QtFileDownloader.cpp:
(WebKit::QtFileDownloader::QtFileDownloader):
(WebKit::QtFileDownloader::start):
* WebProcess/Downloads/qt/QtFileDownloader.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/Downloads/qt/DownloadQt.cpp
Source/WebKit2/WebProcess/Downloads/qt/QtFileDownloader.cpp
Source/WebKit2/WebProcess/Downloads/qt/QtFileDownloader.h