Commit b3227bbe authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

diff: Remove not needed signal blockers

parent f778108d
Pipeline #242907 passed with stage
in 29 minutes and 5 seconds
......@@ -48,11 +48,9 @@ DiffWidget::DiffWidget(DiffParams p, QWidget *parent)
rightHl->setTheme(KTextEditor::Editor::instance()->theme());
connect(m_left->verticalScrollBar(), &QScrollBar::valueChanged, this, [this](int v) {
const QSignalBlocker b(m_left);
m_right->verticalScrollBar()->setValue(v);
});
connect(m_right->verticalScrollBar(), &QScrollBar::valueChanged, this, [this](int v) {
const QSignalBlocker b(m_right);
m_left->verticalScrollBar()->setValue(v);
});
......
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