forked from qt-creator/qt-creator
LSP: rename BaseClient -> Client
Since BaseClient isn't part of an inheritance hirarchie any more the Base doesn't make sense now. Change-Id: I69200b19a22e5a04079e5289a02234af4f56a1bd Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "languageclientutils.h"
|
||||
|
||||
#include "baseclient.h"
|
||||
#include "client.h"
|
||||
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
|
||||
@@ -131,7 +131,7 @@ QTextCursor endOfLineCursor(const QTextCursor &cursor)
|
||||
return ret;
|
||||
}
|
||||
|
||||
void updateCodeActionRefactoringMarker(BaseClient *client,
|
||||
void updateCodeActionRefactoringMarker(Client *client,
|
||||
const CodeAction &action,
|
||||
const DocumentUri &uri)
|
||||
{
|
||||
@@ -176,7 +176,7 @@ void updateCodeActionRefactoringMarker(BaseClient *client,
|
||||
}
|
||||
} else if (action.command().has_value()) {
|
||||
const Command command = action.command().value();
|
||||
marker.callback = [command, client = QPointer<BaseClient>(client)](const TextEditorWidget *) {
|
||||
marker.callback = [command, client = QPointer<Client>(client)](const TextEditorWidget *) {
|
||||
if (client)
|
||||
client->executeCommand(command);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user