mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Updated selectFirstFeed() function due to code rewrite
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user