summaryrefslogtreecommitdiff
path: root/src/websnap.cpp
diff options
context:
space:
mode:
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);
}