diff options
Diffstat (limited to 'src/libs/qmldebug/qpacketprotocol.cpp')
-rw-r--r-- | src/libs/qmldebug/qpacketprotocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qmldebug/qpacketprotocol.cpp b/src/libs/qmldebug/qpacketprotocol.cpp index 3bbabc1cf7..76822d34d4 100644 --- a/src/libs/qmldebug/qpacketprotocol.cpp +++ b/src/libs/qmldebug/qpacketprotocol.cpp @@ -254,7 +254,7 @@ qint64 QPacketProtocol::packetsAvailable() const */ QByteArray QPacketProtocol::read() { - if (0 == d->packets.count()) + if (d->packets.isEmpty()) return QByteArray(); return d->packets.takeFirst(); |