Skip to content

Commit 4c1435e

Browse files
committed
Remove unused Golaem menu items related to license commands
1 parent cc4c51e commit 4c1435e

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

Plugins/GolaemPlugin/Source/CrowdModuleEditor/Private/GolaemCrowdEditor.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,6 @@ void FGolaemCrowdEditorModule::StartupModule()
230230
FNewMenuDelegate::CreateStatic(&FGolaemCrowdEditorModule::CreateGolaemMenuItems), false, FSlateIcon(FGolaemStyle::GetStyleSetName(), "Golaem.Icon16"));
231231
}
232232

233-
static void AddGolaemMenuNoLicenseCommands(FMenuBuilder& MenuBuilder)
234-
{
235-
MenuBuilder.AddSubMenu(
236-
FText::FromString(FString("Golaem")), FText::FromString(FString("Golaem Tools")),
237-
FNewMenuDelegate::CreateStatic(&FGolaemCrowdEditorModule::CreateGolaemMenuItemsNoLicense), false, FSlateIcon(FGolaemStyle::GetStyleSetName(), "Golaem.Icon16"));
238-
}
239-
240233
// static void AddGolaemExportMenu(FMenuBuilder& MenuBuilder)
241234
//{
242235
// FUIAction ExportAction(FExecuteAction::CreateStatic(&FGolaemUI::LaunchExportTerrainWindow));
@@ -315,13 +308,6 @@ void FGolaemCrowdEditorModule::CreateGolaemMenuItems(class FMenuBuilder& MenuBui
315308
FText SimulationTooltip = FText::FromString(FString("The Golaem Simulation Node will run a live simulation based on a Golaem gda scene description file."));
316309
MenuBuilder.AddMenuEntry(SimulationDescription, SimulationTooltip, FSlateIcon(FGolaemStyle::GetStyleSetName(), "GolaemEngine.Icon16"), SimulationAction);
317310

318-
CreateGolaemMenuItemsNoLicense(MenuBuilder);
319-
}
320-
321-
//-----------------------------------------------------------------------------
322-
void FGolaemCrowdEditorModule::CreateGolaemMenuItemsNoLicense(class FMenuBuilder& MenuBuilder)
323-
{
324-
// Golaem About
325311
FUIAction AboutAction(FExecuteAction::CreateStatic(&FGolaemCrowdEditorModule::LaunchAboutWindow));
326312
FText AboutDescription = FText::FromString(FString("About Golaem"));
327313
FText AboutTooltip = FText::FromString(FString("Displays the Golaem About"));
@@ -348,7 +334,6 @@ void FGolaemCrowdEditorModule::LaunchLayoutEditorWindow()
348334
//-----------------------------------------------------------------------------
349335
void FGolaemCrowdEditorModule::LaunchAboutWindow()
350336
{
351-
// get license information
352337
FGolaemCrowdModule* golaemModule(FModuleManager::GetModulePtr<FGolaemCrowdModule>(FName("CrowdModule")));
353338
if (golaemModule == nullptr)
354339
return; // should not happen

Plugins/GolaemPlugin/Source/CrowdModuleEditor/Private/GolaemCrowdEditor.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class FGolaemCrowdEditorModule : public IModuleInterface
4646

4747
// UI
4848
static void CreateGolaemMenuItems(class FMenuBuilder& MenuBuilder);
49-
static void CreateGolaemMenuItemsNoLicense(class FMenuBuilder& MenuBuilder);
5049

5150
static void LaunchLibraryWindow();
5251
static void LaunchLayoutEditorWindow();

0 commit comments

Comments
 (0)