Commit 985e7d80 authored by Konstantin Ritt's avatar Konstantin Ritt
Browse files

[QTextStream::read.*] Return earlier when nothing has been read


There is no any sense in detecting the encoding of an empty string ;)

Change-Id: I1c7af07bd7c3e7e7cf67421a2cb3a1123ca57650
Reviewed-by: default avatarOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
parent 315b359b
Branches
Tags
No related merge requests found
Showing with 3 additions and 3 deletions
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