--- a/QTfrontend/databrowser.cpp Sun Sep 04 14:46:46 2011 +0400
+++ b/QTfrontend/databrowser.cpp Sun Sep 04 14:59:38 2011 +0400
@@ -18,6 +18,7 @@
QVariant DataBrowser::loadResource(int type, const QUrl & name)
{
if(type == QTextDocument::ImageResource || type == QTextDocument::StyleSheetResource)
+ {
if(resources.contains(name))
{
return resources.take(name);
@@ -34,6 +35,7 @@
QNetworkReply *reply = manager->get(newRequest);
connect(reply, SIGNAL(finished()), this, SLOT(resourceDownloaded()));
}
+ }
return QVariant();
}