Commit 90cb7027 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈 Committed by Christoph Cullmann
Browse files

disable clang-format for normalized qt arguments

parent 356278ab
......@@ -51,7 +51,9 @@ void CEPluginView::openANewTab()
m_mainWidget = new CEWidget(this, m_mainWindow);
QWidget *mw = m_mainWindow->window();
// clang-format off
QMetaObject::invokeMethod(mw, "addWidgetAsTab", Q_ARG(QWidget*, m_mainWidget));
// clang-format on
}
// required for TextFilterPluginFactory vtable
......
......@@ -69,12 +69,14 @@ void SemanticHighlighter::doSemanticHighlighting_impl(KTextEditor::View *view)
auto doc = view->document();
if (m_docResultId.count(doc) == 0) {
// clang-format off
connect(doc,
SIGNAL(aboutToInvalidateMovingInterfaceContent(KTextEditor::Document*)),
this,
SLOT(remove(KTextEditor::Document*)),
Qt::UniqueConnection);
connect(doc, SIGNAL(aboutToDeleteMovingInterfaceContent(KTextEditor::Document*)), this, SLOT(remove(KTextEditor::Document*)), Qt::UniqueConnection);
// clang-format on
}
if (caps.semanticTokenProvider.range) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment