projects
/
profile
/
ivi
/
qtwayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c5ac46
)
Make qml compositor resize to window
author
Jørgen Lind
<jorgen.lind@nokia.com>
Mon, 16 Apr 2012 06:04:29 +0000
(08:04 +0200)
committer
Samuel Rødal
<samuel.rodal@nokia.com>
Mon, 16 Apr 2012 06:07:41 +0000
(08:07 +0200)
Change-Id: I014250f968003fa8f9e14e962edcca581ed2e5d8
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
examples/qml-compositor/main.cpp
patch
|
blob
|
history
diff --git
a/examples/qml-compositor/main.cpp
b/examples/qml-compositor/main.cpp
index
44566dd
..
93175a4
100644
(file)
--- a/
examples/qml-compositor/main.cpp
+++ b/
examples/qml-compositor/main.cpp
@@
-101,8
+101,9
@@
private slots:
}
protected:
- void resizeEvent(QResizeEvent *)
+ void resizeEvent(QResizeEvent *
event
)
{
+ QQuickView::resizeEvent(event);
WaylandCompositor::setOutputGeometry(QRect(0, 0, width(), height()));
}