forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now.
Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66
(cherry picked from commit 430a33dcd9)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -74,7 +74,7 @@ static Q_LOGGING_CATEGORY(LOGLSPCLIENT, "qtc.languageclient.client", QtWarningMs
|
||||
class TextMark : public TextEditor::TextMark
|
||||
{
|
||||
public:
|
||||
TextMark(const Utils::FilePath &fileName, const Diagnostic &diag, const Core::Id &clientId)
|
||||
TextMark(const Utils::FilePath &fileName, const Diagnostic &diag, const Utils::Id &clientId)
|
||||
: TextEditor::TextMark(fileName, diag.range().start().line() + 1, clientId)
|
||||
, m_diagnostic(diag)
|
||||
{
|
||||
@@ -97,7 +97,7 @@ private:
|
||||
};
|
||||
|
||||
Client::Client(BaseClientInterface *clientInterface)
|
||||
: m_id(Core::Id::fromString(QUuid::createUuid().toString()))
|
||||
: m_id(Utils::Id::fromString(QUuid::createUuid().toString()))
|
||||
, m_clientInterface(clientInterface)
|
||||
, m_documentSymbolCache(this)
|
||||
, m_hoverHandler(this)
|
||||
|
||||
Reference in New Issue
Block a user