mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 13:11:25 -07:00
Fix compiler warnings.
This commit is contained in:
parent
b894d886ec
commit
3cdc6fb978
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue