mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix compiler warnings.
This commit is contained in:
@@ -160,7 +160,7 @@ Article *Article::fromVariantHash(Feed *feed, const QVariantHash &varHash)
|
||||
guid = varHash.value(Str_Torrent_Url).toString();
|
||||
if (guid.isEmpty())
|
||||
guid = varHash.value(Str_Title).toString();
|
||||
if (guid.isEmpty()) nullptr;
|
||||
if (guid.isEmpty()) return nullptr;
|
||||
|
||||
return new Article(feed, guid
|
||||
, varHash.value(Str_Date).toDateTime()
|
||||
|
||||
Reference in New Issue
Block a user