summaryrefslogtreecommitdiff
path: root/browser/webpagewindow.cpp
diff options
context:
space:
mode:
authorMarcel Schuette <marcel.schuette@pelagicore.com>2013-08-22 13:41:40 +0200
committerMarcel Schuette <marcel.schuette@pelagicore.com>2013-08-22 13:41:40 +0200
commit3a9f75d1ea0bda869cad404b1dacc782f0c6e386 (patch)
tree2cb773a15e7e7f707b2cc69720d72c46882e05c4 /browser/webpagewindow.cpp
parenteee65c8a8368015cc5c4ebf2291f7310056dae7f (diff)
downloadbrowser-poc-3a9f75d1ea0bda869cad404b1dacc782f0c6e386.tar.gz
tested and fixed getContentSize
Diffstat (limited to 'browser/webpagewindow.cpp')
-rw-r--r--browser/webpagewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/webpagewindow.cpp b/browser/webpagewindow.cpp
index 421ae69..bbb4424 100644
--- a/browser/webpagewindow.cpp
+++ b/browser/webpagewindow.cpp
@@ -83,8 +83,8 @@ conn::brw::ERROR_IDS webpagewindow::getBrowserActionsState(conn::brw::BrowserAct
conn::brw::ERROR_IDS webpagewindow::getContentSize(uint &a_u32Width, uint &a_u32Height) {
qDebug() << __PRETTY_FUNCTION__;
- uint width = webitem->property("width").toInt();
- uint height = webitem->property("height").toInt();
+ uint width = webitem->property("contentWidth").toInt();
+ uint height = webitem->property("contentHeight").toInt();
a_u32Width = width;
a_u32Height = height;