summaryrefslogtreecommitdiff
path: root/src/homepage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-15 17:14:14 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-15 17:14:14 +0200
commit47a26d10894d4c88d219dba8d04c0eae4ea48974 (patch)
tree12c18c795fedbbb2d7827da1374e22e57cd73b6a /src/homepage.cpp
parentFirst adjustments and code about it (it's really simple, anyway..Qt rocks!!!) (diff)
downloadrekonq-47a26d10894d4c88d219dba8d04c0eae4ea48974.tar.xz
Here we are, embedding Qt Widgets..
Now it's time to RUN working or I'll be dismissed!! This implementation works quite fine, it's a bit slow but really better than the previous one. It crashes gloriously loading flash contents (Qt bug? WebPlugin one's?) and does not resize well webviews..
Diffstat (limited to 'src/homepage.cpp')
-rw-r--r--src/homepage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index 0cd966f4..f6867c7e 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -37,7 +37,6 @@
#include "application.h"
#include "mainwindow.h"
#include "mainview.h"
-#include "websnap.h"
// KDE Includes
#include <KStandardDirs>
@@ -99,7 +98,7 @@ QString HomePage::speedDial()
speed += "<div class=\"thumbnail\">";
speed += "<a href=\"" + urls.at(i) + "\">";
- speed += "<object type=\"application/x-qt-plugin\"; classId=\"WebView\" name=\"" + pageName + "\" width=\"200\">";
+ speed += "<object type=\"application/x-qt-plugin\" data=\"" + urls.at(i) + "\" classId=\"WebView\" name=\"" + pageName + "\" width=\"200\">";
speed += "<param name=\"load\" value=\"" + urls.at(i) + "\">";
speed += "</object>";
// speed += "<img src=\"" + path + "\" width=\"200\" alt=\"" + names.at(i) + "\" />";