Rename KMessageWidget files to match our coding style

This commit is contained in:
Janek Bevendorff 2017-02-10 02:11:43 +01:00
parent 41d5111684
commit 94f8650ca4
No known key found for this signature in database
GPG key ID: CFEC2F6850BFFA53
6 changed files with 7 additions and 10 deletions

View file

@ -158,12 +158,11 @@ void EditWidgetIcons::fetchFavicon(QUrl url)
void EditWidgetIcons::fetchFaviconFromGoogle(QString domain)
{
if (m_fallbackToGoogle) {
if (m_fallbackToGoogle) {
abortFaviconDownload();
m_fallbackToGoogle = false;
fetchFavicon(QUrl("http://www.google.com/s2/favicons?domain=" + domain));
}
else {
} else {
abortFaviconDownload();
MessageBox::warning(this, tr("Error"), tr("Unable to fetch favicon."));
}