diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-28 20:49:24 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-28 20:49:24 +0200 |
commit | afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce (patch) | |
tree | c74d0f6e0a0000274ece2d663ed90a83459191a0 /src/gui/popupmenu.cpp | |
parent | 8d3b46c492cade8504fafedbd6c00b6a39968388 (diff) | |
download | manaverse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.gz manaverse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.bz2 manaverse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.tar.xz manaverse-afece3f6acd9a7a4a009b73883d4c2d27ac1b8ce.zip |
Fix code style and some new compilation warnings.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 1a164687c..90813ed80 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -92,6 +92,9 @@ PopupMenu::PopupMenu(): mBrowserBox->setHighlightMode(BrowserBox::BACKGROUND); mBrowserBox->setOpaque(false); mBrowserBox->setLinkHandler(this); + mRenameListener.setMapItem(0); + mRenameListener.setDialog(0); + add(mBrowserBox); } |