Fixed: #1193 Clean up code.

This commit is contained in:
dnk-88 2011-10-12 00:23:50 +03:00
parent bff989499d
commit 785fa25683
2 changed files with 2 additions and 4 deletions

View file

@ -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()

View file

@ -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();