QTfrontend/databrowser.cpp
changeset 5758 9af54df78b8a
parent 5755 a079b4dea081
child 5759 082a068c078d
--- 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();
 }