summaryrefslogtreecommitdiff
path: root/src/websnap.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:02:30 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-01 12:02:30 +0200
commit01e5c03236fa589b719544f478ea036b8b1e2ee7 (patch)
treef13f954c326113b2aa92f172f97cfd4c05f7fac2 /src/websnap.cpp
parentSetting session and request metadata about ssl navigation (diff)
downloadrekonq-01e5c03236fa589b719544f478ea036b8b1e2ee7.tar.xz
Code fixes in the homepage
also changed history && bookmarks layout (we need just icons there)
Diffstat (limited to 'src/websnap.cpp')
-rw-r--r--src/websnap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/websnap.cpp b/src/websnap.cpp
index 9d747e66..d7871adc 100644
--- a/src/websnap.cpp
+++ b/src/websnap.cpp
@@ -43,7 +43,7 @@
#define HEIGHT 150
-WebSnap::WebSnap(const QString &url)
+WebSnap::WebSnap(const QUrl &url)
: QObject()
{
m_url = url;
@@ -57,7 +57,7 @@ WebSnap::WebSnap(const QString &url)
void WebSnap::load()
{
- m_page.mainFrame()->load( QUrl(m_url) );
+ m_page.mainFrame()->load(m_url);
}