mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix crash when hiding RSS and then showing it again
This commit is contained in:
parent
ad087d7e88
commit
e11545c8a3
5 changed files with 11 additions and 9 deletions
|
@ -364,7 +364,7 @@ void GUI::displayRSSTab(bool enable) {
|
|||
if(enable) {
|
||||
// RSS tab
|
||||
if(!rssWidget) {
|
||||
rssWidget = new RSSImp(BTSession);
|
||||
rssWidget = new RSSImp(tabs);
|
||||
int index_tab = tabs->addTab(rssWidget, tr("RSS"));
|
||||
tabs->setTabIcon(index_tab, QIcon(QString::fromUtf8(":/Icons/rss32.png")));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue