Fixes to last commit

This commit is contained in:
Christophe Dumez
2010-06-05 19:17:49 +00:00
parent 4001ed304e
commit 31165675b8
15 changed files with 95 additions and 58 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());
}