LanguageClient: Fix condition

Amends 770f1b0376

Change-Id: I289bc9af8499860e58a95e9c1d83faf92c8056f9
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Eike Ziller
2024-05-13 09:18:44 +02:00
parent 2649a49209
commit c64754edfb

View File

@@ -30,7 +30,7 @@ bool ClientWorkspaceSymbolRequest::preStartCheck()
if (!capability.has_value())
return false;
const auto boolvalue = std::get_if<bool>(&*capability);
if (boolvalue && !boolvalue)
if (boolvalue && !*boolvalue)
return false;
return true;