summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-06 12:21:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-06 12:21:38 +0300
commit2a4363ec9c80eafae21835c6c6fe92d7c10678ce (patch)
tree16d92581589e1c6554b667f49308bd10840887aa /src/gui/gui.cpp
parent20ad155838f202584cb261ff8a33fd458a04d83f (diff)
downloadmanaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.tar.gz
manaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.tar.bz2
manaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.tar.xz
manaverse-2a4363ec9c80eafae21835c6c6fe92d7c10678ce.zip
Add to widgets resize event handler.
In this handler set redraw flag.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 039fbebfb..4ad1138eb 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -535,6 +535,8 @@ void Gui::videoResized() const
top->setSize(mainGraphics->mWidth, mainGraphics->mHeight);
top->adjustAfterResize(oldWidth, oldHeight);
}
+
+ Widget::distributeWindowResizeEvent();
}
void Gui::setUseCustomCursor(const bool customCursor)