Fixed: #1193 Clean up code.
This commit is contained in:
parent
426c781b1d
commit
57c18d7e95
2 changed files with 2 additions and 4 deletions
code/nel/tools/3d/object_viewer_qt/src/plugins
|
@ -20,7 +20,6 @@
|
|||
#include "landscape_editor_constants.h"
|
||||
|
||||
#include "../core/icore.h"
|
||||
#include "../core/imenu_manager.h"
|
||||
#include "../core/core_constants.h"
|
||||
|
||||
// NeL includes
|
||||
|
@ -72,7 +71,6 @@ void LandscapeEditorWindow::open()
|
|||
|
||||
void LandscapeEditorWindow::createMenus()
|
||||
{
|
||||
Core::IMenuManager *menuManager = Core::ICore::instance()->menuManager();
|
||||
}
|
||||
|
||||
void LandscapeEditorWindow::readSettings()
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "../core/icore.h"
|
||||
#include "../core/core_constants.h"
|
||||
#include "../core/imenu_manager.h"
|
||||
#include "../core/menu_manager.h"
|
||||
#include "../../extension_system/iplugin_spec.h"
|
||||
|
||||
// Qt includes
|
||||
|
@ -78,7 +78,7 @@ namespace Plugin
|
|||
setDisplayers();
|
||||
|
||||
Core::ICore *core = Core::ICore::instance();
|
||||
Core::IMenuManager *menuManager = core->menuManager();
|
||||
Core::MenuManager *menuManager = core->menuManager();
|
||||
QMenu *viewMenu = menuManager->menu(Core::Constants::M_VIEW);
|
||||
|
||||
QMainWindow *wnd = Core::ICore::instance()->mainWindow();
|
||||
|
|
Loading…
Reference in a new issue