Replace KLocalSocket with QLocalSocket
ClosedPublic

Authored by nicolasfella on Dec 16 2019, 12:48 AM.

Details

Summary

As described in T12010.

AFAIU the QTcpSocket path was only used for Windows, but since QLocalSocket supports Windows we can just use that.

This is entirely untested on Windows though. @vonreth @cullmann can you give this a try?

Test Plan

Did some SFTP stuff in Dolphin.
No new tests fail

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Dec 16 2019, 12:48 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 16 2019, 12:48 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
nicolasfella requested review of this revision.Dec 16 2019, 12:48 AM
nicolasfella edited the summary of this revision. (Show Details)Dec 16 2019, 12:49 AM
nicolasfella added subscribers: vonreth, cullmann.
dfaure accepted this revision.Apr 15 2020, 7:57 AM

Let's give this a try. In the absence of human testers on Windows, CI will tell us...

This revision is now accepted and ready to land.Apr 15 2020, 7:57 AM
This revision was automatically updated to reflect the committed changes.

It built but apparently the unittests for KIO are disabled on CI :(