Fix a warning
authorunc0rr
Sun, 04 Sep 2011 14:59:38 +0400
changeset 5758 9af54df78b8a
parent 5757 5bf89dbf3547
child 5759 082a068c078d
Fix a warning
QTfrontend/databrowser.cpp
--- 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();
 }