mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Restore the old behavior where the icon is removed from the status bar
when starting loading a new page. BUG: 319675 FIXED-IN: 4.10.4
This commit is contained in:
parent
4e438670d8
commit
854fab5bfa
|
@ -79,6 +79,7 @@ KonqFeedIcon::KonqFeedIcon(QObject *parent, const QVariantList &)
|
||||||
m_part = part;
|
m_part = part;
|
||||||
connect(m_part, SIGNAL(completed()), this, SLOT(addFeedIcon()));
|
connect(m_part, SIGNAL(completed()), this, SLOT(addFeedIcon()));
|
||||||
connect(m_part, SIGNAL(completed(bool)), this, SLOT(addFeedIcon()));
|
connect(m_part, SIGNAL(completed(bool)), this, SLOT(addFeedIcon()));
|
||||||
|
connect(m_part, SIGNAL(started(KIO::Job*)), this, SLOT(removeFeedIcon()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -187,7 +188,7 @@ void KonqFeedIcon::addFeedIcon()
|
||||||
void KonqFeedIcon::removeFeedIcon()
|
void KonqFeedIcon::removeFeedIcon()
|
||||||
{
|
{
|
||||||
m_feedList.clear();
|
m_feedList.clear();
|
||||||
if(m_feedIcon)
|
if (m_feedIcon && m_statusBarEx)
|
||||||
{
|
{
|
||||||
m_statusBarEx->removeStatusBarItem(m_feedIcon);
|
m_statusBarEx->removeStatusBarItem(m_feedIcon);
|
||||||
delete m_feedIcon;
|
delete m_feedIcon;
|
||||||
|
|
Loading…
Reference in a new issue