D16927: KTextEditor : disconnect contextmenu from all aboutToXXContextMenu receivers
René J.V. Bertin
noreply at phabricator.kde.org
Fri Nov 16 21:39:36 GMT 2018
rjvbb added a comment.
> Btw., the 2 nullptr in the disconnect can be left out, or?
Not to my understanding. From the docs:
Disconnect everything connected to a specific signal:
disconnect(myObject, SIGNAL(mySignal()), 0, 0);
equivalent to the non-static overloaded function
myObject->disconnect(SIGNAL(mySignal()));
I don't think the 2nd form would match the rest of the code, do you?
REPOSITORY
R39 KTextEditor
REVISION DETAIL
https://phabricator.kde.org/D16927
To: rjvbb, #ktexteditor, #frameworks, cullmann
Cc: cullmann, kde-frameworks-devel, kwrite-devel, michaelh, ngraham, bruns, demsking, head7, kfunk, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181116/165b6e7c/attachment.html>
More information about the Kde-frameworks-devel
mailing list