Merge msvc fixes from stable branch

This commit is contained in:
Christophe Dumez
2010-06-05 18:59:05 +00:00
parent 682377ff66
commit 8ec1621334
13 changed files with 87 additions and 51 deletions

View File

@@ -345,7 +345,7 @@ public:
return item;
}
static RssItem* fromHash(RssStream* parent, QHash<QString, QVariant> h) {
static RssItem* fromHash(RssStream* parent, const QHash<QString, QVariant> &h) {
return new RssItem(parent, h.value("id", "").toString(), h["title"].toString(), h["torrent_url"].toString(), h["news_link"].toString(),
h["description"].toString(), h["date"].toDateTime(), h["author"].toString(), h["read"].toBool());
}