فهرست منبع

Fix show images

Kandrashin Denis 13 سال پیش
والد
کامیت
daaaee63de
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)
 void Fb2WebView::html(QString name, QString html)
 {
 {
-    setHtml(html);
+    setHtml(html, QUrl::fromLocalFile(name));
     if (m_thread) m_thread->deleteLater();
     if (m_thread) m_thread->deleteLater();
     m_thread = 0;
     m_thread = 0;
 }
 }