aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-12-11 13:33:18 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-12-11 12:45:01 +0000
commitb52c2f91f5ea4789110ced38a3ff7f696cea601f (patch)
tree092ffc77f2a402a953ebd44f2556936a4e94807d /dist
parent4e6d2a201f725a21fe3207419ba9b90263ebe704 (diff)
QmlDebug: Avoid dangerous interactions with QPacketProtocolv3.6.0
After deleteLater() a QObject does have another chance to send more signals. So, if we do that with the underlying QIODevice, we should disconnect it from the debug connection (which then doesn't have a QPacketProtocol anymore). Also, setting dev to 0 in QPacketProtocol is an incredibly bad idea, as we never check it for 0. The only reason this piece of code is never triggered is that we never generate invalid packets on purpose. Change-Id: I80e7f494bf55fa1a510b6f0bdd50cf45cae23734 Task-number: QTCREATORBUG-15496 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions