Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/fb2page.cpp')
-rw-r--r--source/fb2page.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fb2page.cpp b/source/fb2page.cpp
index 0c27ee6..60d2329 100644
--- a/source/fb2page.cpp
+++ b/source/fb2page.cpp
@@ -68,8 +68,7 @@ FbNetworkAccessManager *FbTextPage::manager()
bool FbTextPage::read(const QString &html)
{
- QXmlInputSource *source = new QXmlInputSource();
- source->setData(html);
+ QString *source = new QString(html);
FbReadThread::execute(this, source, 0);
return true;
}