Simplify code now that we use the new-style connect
Summary: This cannot possibly fail anymore
Subscribers: kdevelop-devel
Differential Revision: https://phabricator.kde.org/D8900