diff --git a/src/gui/webbrowser.cpp b/src/gui/webbrowser.cpp index 128fc5ec8..c22924d4c 100755 --- a/src/gui/webbrowser.cpp +++ b/src/gui/webbrowser.cpp @@ -77,6 +77,7 @@ WebBrowser::WebBrowser(QWidget *parent) : TabContent(parent), // Initialize the components and layout. initializeLayout(); + setFocusProxy(m_txtLocation); setTabOrder(m_txtLocation, m_toolBar); setTabOrder(m_toolBar, m_webView); diff --git a/src/miscellaneous/application.cpp b/src/miscellaneous/application.cpp index cd9217268..927be1034 100755 --- a/src/miscellaneous/application.cpp +++ b/src/miscellaneous/application.cpp @@ -125,12 +125,16 @@ void Application::eliminateFirstRun(const QString &version) { } void Application::setFeedReader(FeedReader *feed_reader) { - m_feedReader = feed_reader; + m_feedReader = feed_reader; + + connect(m_feedReader->feedDownloader(), &FeedDownloader::updateStarted, this, &Application::onFeedUpdatesStarted); + connect(m_feedReader->feedDownloader(), &FeedDownloader::updateProgress, this, &Application::onFeedUpdatesProgress); + connect(m_feedReader->feedDownloader(), &FeedDownloader::updateFinished, this, &Application::onFeedUpdatesFinished); } IconFactory *Application::icons() { - if (m_icons == nullptr) { - m_icons = new IconFactory(this); + if (m_icons == nullptr) { + m_icons = new IconFactory(this); } return m_icons;