mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
- Updated selectFirstFeed() function due to code rewrite
This commit is contained in:
parent
3550e31871
commit
06fb19e8be
4 changed files with 5 additions and 14 deletions
|
@ -32,8 +32,11 @@ public:
|
|||
|
||||
void itemAdded(QTreeWidgetItem *item, RssFile* file) {
|
||||
mapping[item] = file;
|
||||
if(file->getType() == RssFile::STREAM)
|
||||
if(file->getType() == RssFile::STREAM) {
|
||||
feeds_items[file->getID()] = item;
|
||||
if(topLevelItemCount() == 1)
|
||||
setCurrentItem(item);
|
||||
}
|
||||
}
|
||||
|
||||
void itemRemoved(QTreeWidgetItem *item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue