diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-13 18:28:02 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-14 18:36:47 +0200 |
commit | abea114ea32993cd6e41fc3b821deafa345c783b (patch) | |
tree | cdad0e1c4fcad8dda4cf2891a40b14d4ddf03bb4 /src/homepage.cpp | |
parent | We have thumbnails! Hugh! (diff) | |
download | rekonq-abea114ea32993cd6e41fc3b821deafa345c783b.tar.xz |
Adding url to previews
Diffstat (limited to 'src/homepage.cpp')
-rw-r--r-- | src/homepage.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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; } |