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, 3 insertions, 1 deletions
diff --git a/src/websnap.cpp b/src/websnap.cpp
index ff4746ca..fde7bd94 100644
--- a/src/websnap.cpp
+++ b/src/websnap.cpp
@@ -108,6 +108,8 @@ QPixmap WebSnap::renderPreview(const QWebPage &page,int w, int h)
page.mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAsNeeded);
return QPixmap::fromImage(pageImage);
+
+ kDebug() << w << h;
}
@@ -172,8 +174,8 @@ void WebSnap::saveResult(bool ok)
}
QFile::remove(fileForUrl(m_url).toLocalFile());
m_image.save(fileForUrl(m_url).toLocalFile());
- kDebug() << "finished";
+ kDebug() << "finished";
emit finished();
}