diff options
author | Miguel Costa <miguel.costa@qt.io> | 2020-05-18 14:49:46 +0200 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2020-05-18 13:03:00 +0000 |
commit | e802d10d77b1712a7d12d878b3cbba9a71534390 (patch) | |
tree | d9e6522008119d3ba8a4e2117eabf8f77abab2fe | |
parent | 9a68bbaa488acee966b9ea62d0a89229d8b631f2 (diff) |
Hide conversion functions (part 2)
Completion of a6b70b670d32141ccf68973ac86d29fa7fc74b78:
"Hide conversion functions between qmake created project and vs tools
project
The conversion broke in recent refactorings. As fixing these will not
be trivial and we do not want to postpone the release for this issue,
the functionality is removed for now and will be brought back later."
Must also hide options in the project context menu.
Change-Id: If11082977b9ce7a78deb36c0f7ee3776b0d19c92
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/qtvstools/QtProjectContextMenu.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/qtvstools/QtProjectContextMenu.cs b/src/qtvstools/QtProjectContextMenu.cs index 61f15889..0f1bfc41 100644 --- a/src/qtvstools/QtProjectContextMenu.cs +++ b/src/qtvstools/QtProjectContextMenu.cs @@ -240,6 +240,13 @@ namespace QtVsTools } switch ((CommandId) command.CommandID.ID) { + // TODO: Fix these functionality and re-enable the menu items + case CommandId.ConvertToQtProjectId: + case CommandId.ConvertToQmakeProjectId: + { + command.Visible = false; + } + break; case CommandId.ImportPriFileProjectId: case CommandId.ExportPriFileProjectId: case CommandId.ExportProFileProjectId: @@ -250,7 +257,7 @@ namespace QtVsTools command.Enabled = HelperFunctions.IsQtProject(HelperFunctions .GetSelectedProject(Vsix.Instance.Dte)); break; - case CommandId.ConvertToQmakeProjectId: + //case CommandId.ConvertToQmakeProjectId: case CommandId.QtProjectSettingsProjectId: case CommandId.ProjectAddNewQtClassProjectId: { @@ -265,7 +272,7 @@ namespace QtVsTools command.Visible = ((status & vsCommandStatus.vsCommandStatusInvisible) == 0); } break; - case CommandId.ConvertToQtProjectId: + //case CommandId.ConvertToQtProjectId: case CommandId.ChangeProjectQtVersionProjectId: { var status = vsCommandStatus.vsCommandStatusSupported; |