summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2015-08-03 13:33:58 (GMT)
committerMarco Martin <notmart@gmail.com>2015-08-03 13:33:58 (GMT)
commit511054c4232873705ca8430148de6aed42add8e8 (patch)
treeeafe68c704bb3c0229608808703a97012b0e1c1d
parentd5bad89a51e0f957e3f6bc0764038ce4dec68e05 (diff)
set the contents size as the full size
crash--
-rw-r--r--active/components/pageitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/active/components/pageitem.cpp b/active/components/pageitem.cpp
index 5b54a62..fe75bc6 100644
--- a/active/components/pageitem.cpp
+++ b/active/components/pageitem.cpp
@@ -279,6 +279,8 @@ void PageItem::removeBookmark(const QString &bookmark)
void PageItem::geometryChanged(const QRectF &newGeometry,
const QRectF &oldGeometry)
{
+ setContentsSize(newGeometry.size().toSize());
+
if (newGeometry.size().isEmpty()) {
return;
}