D15328: kfilewidget: convert connect syntax

Jaime Torres Amate noreply at phabricator.kde.org
Fri Sep 7 13:00:40 BST 2018


jtamate marked an inline comment as done.
jtamate added inline comments.

INLINE COMMENTS

> anthonyfieroni wrote in kfilewidget.cpp:1225
>   QObject::disconnect(m_connEditTextChanged);
>   m_connEditTextChanged = QMetaObject::Connection();

I'm sorry, but I still don't get it.
Doesn't connect/disconnect work more or less as new/delete?
I mean, if m_connEditTextChanged is reconnected, can't it be disconnected safely?

REPOSITORY
  R241 KIO

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

To: jtamate, dfaure, #frameworks
Cc: anthonyfieroni, broulik, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180907/d761c9ad/attachment.html>


More information about the Kde-frameworks-devel mailing list