mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[BrowsingLibrary] Fixed loading RSS feeds after first library window close.
This commit is contained in:
parent
1808208f66
commit
271e78a6c9
@ -132,8 +132,11 @@ void BrowsingLibrary::showRSS(QupZilla* mainClass)
|
||||
ui->tabs->SetCurrentIndex(2);
|
||||
show();
|
||||
m_rssManager->setMainWindow(mainClass);
|
||||
m_rssManager->refreshTable();
|
||||
m_rssLoaded = true;
|
||||
|
||||
if (!m_rssLoaded) {
|
||||
m_rssManager->refreshTable();
|
||||
m_rssLoaded = true;
|
||||
}
|
||||
|
||||
raise();
|
||||
activateWindow();
|
||||
@ -159,8 +162,9 @@ void BrowsingLibrary::closeEvent(QCloseEvent* e)
|
||||
settings.endGroup();
|
||||
e->accept();
|
||||
|
||||
// saves a few megabytes
|
||||
// Saves a few megabytes
|
||||
m_rssManager->deleteAllTabs();
|
||||
m_rssLoaded = false;
|
||||
}
|
||||
|
||||
void BrowsingLibrary::keyPressEvent(QKeyEvent* e)
|
||||
|
Loading…
Reference in New Issue
Block a user