diff options
| author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2013-01-02 20:45:41 (GMT) |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-05 09:47:29 (GMT) |
| commit | e9693b6a39df77ab964585ecbe04cc820bd6baa2 (patch) | |
| tree | c643b6200fcd293358da8beecc95b6e9f98c4d54 /doc/src/snippets/qt-namespace/main.cpp | |
| parent | ece0d57613d5fdc3a5a1d1fd4c8a27b3957ea630 (diff) | |
| download | Qt-e9693b6a39df77ab964585ecbe04cc820bd6baa2.zip Qt-e9693b6a39df77ab964585ecbe04cc820bd6baa2.tar.gz Qt-e9693b6a39df77ab964585ecbe04cc820bd6baa2.tar.bz2 | |
Fix QWidget::showFullScreen() on QPA
When showing full screen, we need to enforce that the size of the widget *is*
the size of the screen. When calling QWidget::resize(), there was a chance for
the layout to bypass the screen size, causing the toplevel widget to be
clipped.
This fix is not necessary on Qt5. Qt5 implements this differently and
correctly.
Change-Id: I1f4467dd14310ee20376caba8780507f8d787720
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'doc/src/snippets/qt-namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions
