mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Fix possible crash when adding a new RSS stream
This commit is contained in:
parent
cc192d7d47
commit
c40801ce99
3 changed files with 11 additions and 4 deletions
|
@ -184,7 +184,7 @@ void RSSImp::on_newFeedButton_clicked() {
|
|||
if (parent_item == m_feedList->stickyUnreadItem()) {
|
||||
parent_item = 0;
|
||||
} else {
|
||||
if (m_feedList->isFolder(parent_item))
|
||||
if (!m_feedList->isFolder(parent_item))
|
||||
parent_item = parent_item->parent();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue