diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-11-01 20:13:42 +0200 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2016-11-02 17:53:23 +0000 |
commit | b3d871554c8cca274db423a81a20c3fbf8c6a899 (patch) | |
tree | fdac8efe4f14959c6a3a24dc86fb6b849a6591b7 /src/platformsupport/fontdatabases/mac/coretext.pri | |
parent | 7bf81286bdbde02b6c7ceaf62346e7b236caa9c5 (diff) |
QAbstractSocket: print error message before emitting the signal
The socket might get closed by some slot connected to its error() signal.
This could lead to 'errorString' being cleared, which would hide the actual
error code from the debug output. Changing the order of calls ensures we
always get the correct message.
Change-Id: If7c01196dbeb3cb0c97235cd02a3baf63fc190da
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/platformsupport/fontdatabases/mac/coretext.pri')
0 files changed, 0 insertions, 0 deletions