Skip to content
Commit 87a155b8 authored by David Faure's avatar David Faure
Browse files

Fix "QIODevice::read" warnings.

Summary:
Calling readAll() after close() leads to this warning because QIODevice checks
the open status before reading, and warns (and returns -1) if closed.

Let's just create a different socket in doReconnect to make sure we have
no interference from the just closed one.

Test Plan: `ctest --verbose -R sqlite-tagtest` no longer has all these warnings.

Reviewers: dvratil, sengels

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D18558
parent 4208803d
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