Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2024
1 parent 8414466 commit 83fa5ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion ui/codeeditor/codeeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ui/uiintegration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 83fa5ab

Please sign in to comment.