diff options
-rw-r--r-- | data/home.html | 1 | ||||
-rw-r--r-- | src/homepage.cpp | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/data/home.html b/data/home.html index 68ab9326..43e1b452 100644 --- a/data/home.html +++ b/data/home.html @@ -44,6 +44,7 @@ color: #00f; .thumbnail { +text-align: center; float:left; width:230px; margin:0 10px 10px 10px; diff --git a/src/homepage.cpp b/src/homepage.cpp index 59078c51..957118f8 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -99,7 +99,9 @@ QString HomePage::speedDial() WebSnap *ws = new WebSnap(url, fileName); } - speed += "<img class=\"thumbnail\" src=\"" + path + "\" width=\"200\" alt=\"" + url.prettyUrl() + "\" />"; + speed += "<div class=\"thumbnail\"><img src=\"" + path + "\" width=\"200\" alt=\"" + url.prettyUrl() + "\" />"; + speed += "<br />"; + speed += "<a href=\"" + url.prettyUrl() + "\">" + url.prettyUrl() + "</a></div>"; } return speed; } @@ -107,7 +109,7 @@ QString HomePage::speedDial() QString HomePage::searchEngines() { - QString engines = "engines"; + QString engines = "engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines "; return engines; } @@ -115,7 +117,7 @@ QString HomePage::searchEngines() QString HomePage::recentlyClosedTabs() { - QString closedtabs = "closed"; + QString closedtabs = "engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines closed"; return closedtabs; } |