Use #ifdef instead of comment

This commit is contained in:
David Rowe 2017-03-18 12:56:34 +13:00
parent 38bb48e72c
commit ab7d82edb6

View file

@ -418,7 +418,8 @@ Menu::Menu() {
// Developer > Assets >>>
// Menu item is not currently needed but code should be kept in case it proves useful again at some stage.
/*
//#define WANT_ASSET_MIGRATION
#ifdef WANT_ASSET_MIGRATION
MenuWrapper* assetDeveloperMenu = developerMenu->addMenu("Assets");
auto& atpMigrator = ATPAssetMigrator::getInstance();
atpMigrator.setDialogParent(this);
@ -426,7 +427,7 @@ Menu::Menu() {
addActionToQMenuAndActionHash(assetDeveloperMenu, MenuOption::AssetMigration,
0, &atpMigrator,
SLOT(loadEntityServerFile()));
*/
#endif
// Developer > Avatar >>>
MenuWrapper* avatarDebugMenu = developerMenu->addMenu("Avatar");