Ver código fonte

Fix show images

Kandrashin Denis 13 anos atrás
pai
commit
daaaee63de
1 arquivos alterados com 1 adições e 1 exclusões
  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;
 }