diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 19:56:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 5c6dc4e9dc4e13e3531135ad434b540055c2393e (patch) | |
tree | 1bada0cf40a525faf72612123c11b55491e28be5 /src/gui/popups/popupmenu.cpp | |
parent | 8e4604158dfa710aa505fb97f8a6ac9a16e37997 (diff) | |
download | ManaVerse-5c6dc4e9dc4e13e3531135ad434b540055c2393e.tar.gz ManaVerse-5c6dc4e9dc4e13e3531135ad434b540055c2393e.tar.bz2 ManaVerse-5c6dc4e9dc4e13e3531135ad434b540055c2393e.tar.xz ManaVerse-5c6dc4e9dc4e13e3531135ad434b540055c2393e.zip |
move virtual member calls from popupmenu constuctor into postInit.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 3655451d3..cba03800a 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -120,6 +120,10 @@ PopupMenu::PopupMenu() : mPlayerListener.setType(static_cast<int>(Being::UNKNOWN)); mScrollArea = new ScrollArea(mBrowserBox, false); mScrollArea->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO); +} + +void PopupMenu::postInit() +{ add(mScrollArea); } |