Don't cache icons for qupzilla: scheme

Also remove icon from SpeedDial page
remotes/origin/falkon
David Rosca 11 years ago
parent 6ac34f74c1
commit 75cb70d049
  1. 1
      src/lib/data/html/speeddial.html
  2. 3
      src/lib/tools/iconprovider.cpp

@ -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%; }

@ -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();

Loading…
Cancel
Save