QTfrontend/databrowser.cpp
changeset 5759 082a068c078d
parent 5758 9af54df78b8a
child 5772 c09c50efe8b5
equal deleted inserted replaced
5758:9af54df78b8a 5759:082a068c078d
    48     {
    48     {
    49         int type = reply->request().attribute(typeAttribute).toInt();
    49         int type = reply->request().attribute(typeAttribute).toInt();
    50         QUrl url = reply->request().attribute(urlAttribute).toUrl();
    50         QUrl url = reply->request().attribute(urlAttribute).toUrl();
    51         resources.insert(url, reply->readAll());
    51         resources.insert(url, reply->readAll());
    52         document()->addResource(type, reply->request().url(), QVariant());
    52         document()->addResource(type, reply->request().url(), QVariant());
       
    53         update();
    53     }
    54     }
    54 }
    55 }