forked from qt-creator/qt-creator
Do not pass Utils::LinkHandler by rvalue ref
There is nothing special about this type that justifies it sticking out everywhere it appears. Change-Id: Iccdc95163d477db8a031d0d520f28fea26432a44 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -496,7 +496,7 @@ signals:
|
||||
|
||||
void requestBlockUpdate(const QTextBlock &);
|
||||
|
||||
void requestLinkAt(const QTextCursor &cursor, Utils::LinkHandler &callback,
|
||||
void requestLinkAt(const QTextCursor &cursor, const Utils::LinkHandler &callback,
|
||||
bool resolveTarget, bool inNextSplit);
|
||||
void requestUsages(const QTextCursor &cursor);
|
||||
void requestRename(const QTextCursor &cursor);
|
||||
@@ -582,7 +582,7 @@ protected:
|
||||
(it isn't until the link is used).
|
||||
*/
|
||||
virtual void findLinkAt(const QTextCursor &,
|
||||
Utils::LinkHandler &&processLinkCallback,
|
||||
const Utils::LinkHandler &processLinkCallback,
|
||||
bool resolveTarget = true,
|
||||
bool inNextSplit = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user