From 83fa5abbc1a5b3ce08821f07202572ce13c04c96 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:41:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- core/probe.cpp | 2 +- ui/codeeditor/codeeditor.cpp | 2 +- ui/uiintegration.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/probe.cpp b/core/probe.cpp index 0163174a2e..d72135f7ab 100644 --- a/core/probe.cpp +++ b/core/probe.cpp @@ -689,7 +689,7 @@ void Probe::objectRemoved(QObject *obj) EXPENSIVE_ASSERT(!instance()->isObjectCreationQueued(obj)); if (instance()->thread() == QThread::currentThread()) - emit instance() -> objectDestroyed(obj); + emit instance()->objectDestroyed(obj); else instance()->queueDestroyedObject(obj); } diff --git a/ui/codeeditor/codeeditor.cpp b/ui/codeeditor/codeeditor.cpp index e6435cf2e5..90b1cf98ae 100644 --- a/ui/codeeditor/codeeditor.cpp +++ b/ui/codeeditor/codeeditor.cpp @@ -321,7 +321,7 @@ void CodeEditor::toggleFold(const QTextBlock &startBlock) // redraw document document()->markContentsDirty(startBlock.position(), endBlock.position() - startBlock.position() + 1); // update scrollbars - emit document() -> documentLayout()->documentSizeChanged(document()->documentLayout()->documentSize()); + emit document()->documentLayout()->documentSizeChanged(document()->documentLayout()->documentSize()); #else Q_UNUSED(startBlock); #endif diff --git a/ui/uiintegration.cpp b/ui/uiintegration.cpp index 714018c373..8e7066377d 100644 --- a/ui/uiintegration.cpp +++ b/ui/uiintegration.cpp @@ -41,7 +41,7 @@ UiIntegration *UiIntegration::instance() void UiIntegration::requestNavigateToCode(const QUrl &url, int lineNumber, int columnNumber) { if (UiIntegration::instance()) - emit UiIntegration::instance() -> navigateToCode(url, lineNumber, columnNumber); + emit UiIntegration::instance()->navigateToCode(url, lineNumber, columnNumber); } bool UiIntegration::hasDarkUI()