Commit df8a2340 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Stop using deprecated methods

Summary: They are no-ops

Reviewers: dfaure

Reviewed By: dfaure

Subscribers: kossebau, kde-frameworks-devel, kfm-devel, dfaure

Tags: #dolphin, #frameworks

Differential Revision: https://phabricator.kde.org/D29577
parent e1c188ba
......@@ -381,7 +381,6 @@ bool fishProtocol::connectionStart() {
}
#endif
if (!requestNetwork()) return true;
myDebug( << "Exec: " << (local ? suPath : sshPath) << " Port: " << connectionPort << " User: " << connectionUser);
#ifdef Q_OS_WIN
childPid = new KProcess();
......@@ -425,7 +424,6 @@ bool fishProtocol::connectionStart() {
::close(fd[0]);
::close(fd[1]);
childPid = 0;
dropNetwork();
return true;
}
if (childPid == 0) {
......@@ -760,7 +758,6 @@ void fishProtocol::shutdownConnection(bool forced){
#endif
if (!forced)
{
dropNetwork();
infoMessage(i18n("Disconnected."));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment