X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Finputwidget.cpp;h=3233f044c9c4c3bc9b61e12a5d05a5461437b1d6;hp=7a4b5ac33a8c47943b50ddc0cb3355b6a59a6c76;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hpb=00e1a9c29e792ba4d65dba21b7ba04131bcb13bc diff --git a/src/qtui/inputwidget.cpp b/src/qtui/inputwidget.cpp index 7a4b5ac3..3233f044 100644 --- a/src/qtui/inputwidget.cpp +++ b/src/qtui/inputwidget.cpp @@ -427,9 +427,9 @@ void InputWidget::setNetwork(NetworkId networkId) const Network *previousNet = Client::network(_networkId); if (previousNet) { - disconnect(previousNet, 0, this, 0); + disconnect(previousNet, nullptr, this, nullptr); if (previousNet->me()) - disconnect(previousNet->me(), 0, this, 0); + disconnect(previousNet->me(), nullptr, this, nullptr); } _networkId = networkId; @@ -472,7 +472,7 @@ void InputWidget::setIdentity(IdentityId identityId) const Identity *previousIdentity = Client::identity(_identityId); if (previousIdentity) - disconnect(previousIdentity, 0, this, 0); + disconnect(previousIdentity, nullptr, this, nullptr); _identityId = identityId;