D9809: work around bug in kLineEdit

Anthony Fieroni noreply at phabricator.kde.org
Thu Jan 11 07:16:20 UTC 2018


anthonyfieroni added inline comments.

INLINE COMMENTS

> compilerswidget.cpp:171
> +        //Work around this bug until it is fixed upstream by disabling signals here
> +        m_ui->compilerPath->blockSignals(true);
>          m_ui->compilerPath->setText(compiler.value<CompilerPointer>()->path());

Prefer to use

  const QSignalBlocker blocker(m_ui->compilerPath);

> compilerswidget.cpp:209
> +        //spurious signal bug in kLineEdit
> +        m_ui->compilerPath->blockSignals(true);
>          m_ui->compilerPath->clear();

dito

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D9809

To: dweatherill
Cc: anthonyfieroni, kdevelop-devel, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180111/d1fbaff6/attachment.html>


More information about the KDevelop-devel mailing list