QTfrontend/databrowser.h
changeset 5780 528dd4a14861
parent 5755 a079b4dea081
--- a/QTfrontend/databrowser.h	Sun Sep 04 17:26:38 2011 -0400
+++ b/QTfrontend/databrowser.h	Mon Sep 05 15:49:14 2011 +0400
@@ -18,8 +18,11 @@
 
 private:
     QNetworkAccessManager *manager;
-    QHash<QUrl, QByteArray> resources;
-    QSet<QUrl> requestedResources;
+    
+    // hash and set of QString instead of QUrl to support Qt versions 
+    // older than 4.7 (those have no support for qHash(const QUrl &))
+    QHash<QString, QByteArray> resources;
+    QSet<QString> requestedResources;
 
     QVariant loadResource(int type, const QUrl & name);