summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 19:56:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit5c6dc4e9dc4e13e3531135ad434b540055c2393e (patch)
tree1bada0cf40a525faf72612123c11b55491e28be5 /src/gui/viewport.cpp
parent8e4604158dfa710aa505fb97f8a6ac9a16e37997 (diff)
downloadplus-5c6dc4e9dc4e13e3531135ad434b540055c2393e.tar.gz
plus-5c6dc4e9dc4e13e3531135ad434b540055c2393e.tar.bz2
plus-5c6dc4e9dc4e13e3531135ad434b540055c2393e.tar.xz
plus-5c6dc4e9dc4e13e3531135ad434b540055c2393e.zip
move virtual member calls from popupmenu constuctor into postInit.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 4404060d5..e82b0f546 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -79,6 +79,7 @@ Viewport::Viewport() :
mCameraRelativeY(0)
{
mBeingPopup->postInit();
+ mPopupMenu->postInit();
setOpaque(false);
addMouseListener(this);