Set empty page icon to qupzilla:speeddial

remotes/origin/falkon
David Rosca 11 years ago
parent 88c5b271e2
commit 226b29b0c6
  1. 1
      src/lib/data/html/speeddial.html
  2. 1
      src/lib/network/schemehandlers/qupzillaschemehandler.cpp

@ -1,6 +1,7 @@
<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%; }

@ -268,6 +268,7 @@ QString QupZillaSchemeReply::speeddialPage()
if (dPage.isEmpty()) {
dPage.append(QzTools::readAllFileContents(":html/speeddial.html"));
dPage.replace(QLatin1String("%FAVICON%"), QLatin1String("qrc:icons/other/empty-page.png"));
dPage.replace(QLatin1String("%IMG_PLUS%"), QLatin1String("qrc:html/plus.png"));
dPage.replace(QLatin1String("%IMG_CLOSE%"), QLatin1String("qrc:html/close.png"));
dPage.replace(QLatin1String("%IMG_EDIT%"), QLatin1String("qrc:html/edit.png"));

Loading…
Cancel
Save