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