mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: adjust to KDED favicons module changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
040e1275cc
commit
b1074b5998
2 changed files with 3 additions and 4 deletions
|
@ -462,7 +462,7 @@ QString KMimeType::favIconForUrl( const KUrl& url, bool download )
|
||||||
const QString iconfile = iconreply.value();
|
const QString iconfile = iconreply.value();
|
||||||
if (iconfile.isEmpty() && download) {
|
if (iconfile.isEmpty() && download) {
|
||||||
kDebug() << "Downloading icon for" << url.prettyUrl();
|
kDebug() << "Downloading icon for" << url.prettyUrl();
|
||||||
const QDBusReply<void> downloadreply = kded.call(QString::fromLatin1("downloadHostIcon"), url.url() );
|
const QDBusReply<void> downloadreply = kded.call(QString::fromLatin1("downloadUrlIcon"), url.url() );
|
||||||
if (!downloadreply.isValid()) {
|
if (!downloadreply.isValid()) {
|
||||||
kWarning() << "Could not start downloading icon for" << url.prettyUrl();
|
kWarning() << "Could not start downloading icon for" << url.prettyUrl();
|
||||||
}
|
}
|
||||||
|
|
|
@ -404,7 +404,7 @@ void SlaveBase::error(int _errid, const QString &_text)
|
||||||
KIO_DATA << (qint32)_errid << _text;
|
KIO_DATA << (qint32)_errid << _text;
|
||||||
|
|
||||||
send(MSG_ERROR, data);
|
send(MSG_ERROR, data);
|
||||||
//reset
|
// reset
|
||||||
d->totalSize = 0;
|
d->totalSize = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1019,7 +1019,7 @@ void SlaveBase::dispatch(int command, const QByteArray &data)
|
||||||
}
|
}
|
||||||
case CMD_SPECIAL: {
|
case CMD_SPECIAL: {
|
||||||
d->m_state = SlaveBasePrivate::InsideMethod;
|
d->m_state = SlaveBasePrivate::InsideMethod;
|
||||||
special( data );
|
special(data);
|
||||||
d->verifyState("special()");
|
d->verifyState("special()");
|
||||||
d->m_state = SlaveBasePrivate::Idle;
|
d->m_state = SlaveBasePrivate::Idle;
|
||||||
break;
|
break;
|
||||||
|
@ -1086,7 +1086,6 @@ int SlaveBase::proxyConnectTimeout()
|
||||||
return DEFAULT_PROXY_CONNECT_TIMEOUT;
|
return DEFAULT_PROXY_CONNECT_TIMEOUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int SlaveBase::responseTimeout()
|
int SlaveBase::responseTimeout()
|
||||||
{
|
{
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue