Skip to content

Commit

Permalink
#6131: Remove LegacyLayerControlDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 18, 2022
1 parent 1d13433 commit e0c3030
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 817 deletions.
2 changes: 0 additions & 2 deletions radiant/CMakeLists.txt
Expand Up @@ -78,9 +78,7 @@ add_executable(darkradiant
ui/grid/GridUserInterface.cpp
ui/layers/CreateLayerDialog.cpp
ui/layers/LayerContextMenu.cpp
ui/layers/LayerControl.cpp
ui/layers/LayerControlDialog.cpp
ui/layers/LegacyLayerControlDialog.cpp
ui/layers/LayerOrthoContextMenuItem.cpp
ui/lightinspector/LightInspector.cpp
ui/LongRunningOperationHandler.cpp
Expand Down
4 changes: 1 addition & 3 deletions radiant/ui/UserInterfaceModule.cpp
Expand Up @@ -36,7 +36,6 @@
#include "ui/prefdialog/GameSetupDialog.h"
#include "ui/modelselector/ModelSelector.h"
#include "ui/layers/LayerOrthoContextMenuItem.h"
#include "ui/layers/LegacyLayerControlDialog.h"
#include "ui/layers/LayerControlDialog.h"
#include "ui/overlay/OverlayDialog.h"
#include "ui/prefdialog/PrefDialog.h"
Expand Down Expand Up @@ -141,8 +140,7 @@ void UserInterfaceModule::initialiseModule(const IApplicationContext& ctx)

registerUICommands();

// Register LegacyLayerControlDialog
GlobalCommandSystem().addCommand("ToggleLegacyLayerControlDialog", LegacyLayerControlDialog::toggle);
// Register LayerControlDialog
GlobalCommandSystem().addCommand("ToggleLayerControlDialog", LayerControlDialog::ToggleDialog);

// Create a new menu item connected to the CreateNewLayerDialog command
Expand Down
263 changes: 0 additions & 263 deletions radiant/ui/layers/LayerControl.cpp

This file was deleted.

68 changes: 0 additions & 68 deletions radiant/ui/layers/LayerControl.h

This file was deleted.

0 comments on commit e0c3030

Please sign in to comment.