diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-03 22:39:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-03 22:39:35 +0300 |
commit | f0f135493b2951af8661c8d7e7396c713164a723 (patch) | |
tree | 5fa4af6eb22cae8650cbd96d7dd7211223950414 /src/gui/gui.cpp | |
parent | 4039ef116901d4513c3535cc119dc40abd8e14df (diff) | |
download | plus-f0f135493b2951af8661c8d7e7396c713164a723.tar.gz plus-f0f135493b2951af8661c8d7e7396c713164a723.tar.bz2 plus-f0f135493b2951af8661c8d7e7396c713164a723.tar.xz plus-f0f135493b2951af8661c8d7e7396c713164a723.zip |
Improve a bit calculations in viewport.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index db03887fb..cb91f09c4 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -526,6 +526,8 @@ void Gui::videoResized() const top->adjustAfterResize(oldWidth, oldHeight); } + if (viewport) + viewport->videoResized(); Widget::distributeWindowResizeEvent(); } |