summaryrefslogtreecommitdiff
path: root/src/websnap.cpp
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-01-17 19:06:27 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:47 +0100
commit50d6ee1e340c35261b0445c1a2c793fb07da4854 (patch)
tree8c81a58e1ae521478cc7726433354d4068b6909b /src/websnap.cpp
parentA new approach for choosing previews : a bar appears, then you browse to the ... (diff)
downloadrekonq-50d6ee1e340c35261b0445c1a2c793fb07da4854.tar.xz
bugfixing...
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();
}