1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Don't cache icons for qupzilla: scheme

Also remove icon from SpeedDial page
This commit is contained in:
David Rosca 2015-10-02 17:10:27 +02:00
parent 6ac34f74c1
commit 75cb70d049
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,6 @@
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>%SITE-TITLE%</title>
<link rel="icon" href="%FAVICON%" type="image/x-icon" />
<style type="text/css" media="screen">
html { background: #dddddd url("%IMG_BACKGROUND%") no-repeat center center; background-size: %B_SIZE%; }
body { font-family: sans-serif; color: #525c66; direction: %DIRECTION%; }

View File

@ -42,6 +42,9 @@ void IconProvider::saveIcon(WebView* view)
return;
}
if (view->url().scheme() == QL1S("qupzilla"))
return;
BufferedIcon item;
item.first = view->url();
item.second = view->icon().pixmap(16, 16).toImage();