aboutsummaryrefslogtreecommitdiffstats
path: root/qt-cpp
diff options
context:
space:
mode:
authorOrkun Tokdemir <orkun.tokdemir@qt.io>2024-11-28 10:42:55 +0100
committerOrkun Tokdemir <orkun.tokdemir@qt.io>2024-11-28 10:05:49 +0000
commita55187aa361d31f864a22597a6aa109dca0f9023 (patch)
tree7b16adf7e84ea6a652faf4eda767012ddc2b2066 /qt-cpp
parentf67b8912b4127bce7f81d24c2ed78e10a9d773c1 (diff)
qt-cpp: Remove redundant code
Change-Id: I03e8844ec496966836abbc2f8ca3c75294a42d00 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Diffstat (limited to 'qt-cpp')
-rw-r--r--qt-cpp/src/commands/register-qt-path.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/qt-cpp/src/commands/register-qt-path.ts b/qt-cpp/src/commands/register-qt-path.ts
index 9a9de10..a644172 100644
--- a/qt-cpp/src/commands/register-qt-path.ts
+++ b/qt-cpp/src/commands/register-qt-path.ts
@@ -9,15 +9,6 @@ import { CMAKE_GLOBAL_KITS_FILEPATH, Kit, KitManager } from '@/kit-manager';
const logger = createLogger('register-qt-path');
-export async function checkSelectedKitandAskForKitSelection() {
- const selectedKit = await vscode.commands.executeCommand('cmake.buildKit');
- if (!selectedKit || selectedKit === '__unspec__') {
- askForKitSelection();
- return false;
- }
- return true;
-}
-
export function IsQtKit(kit: Kit) {
return IsQtInsKit(kit) || IsQtPathsKit(kit);
}