Browse Source

Fix show images

Kandrashin Denis 13 năm trước cách đây
mục cha
commit
daaaee63de
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/fb2view.cpp

+ 1 - 1
source/fb2view.cpp

@@ -142,7 +142,7 @@ void Fb2WebView::data(QString name, QByteArray data)
 
 void Fb2WebView::html(QString name, QString html)
 {
-    setHtml(html);
+    setHtml(html, QUrl::fromLocalFile(name));
     if (m_thread) m_thread->deleteLater();
     m_thread = 0;
 }