src/declarative/debugger/qpacketprotocol.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
--- a/src/declarative/debugger/qpacketprotocol.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/src/declarative/debugger/qpacketprotocol.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -125,7 +125,7 @@
         QObject::connect(this, SIGNAL(invalidPacket()),
                          parent, SIGNAL(invalidPacket()));
         QObject::connect(dev, SIGNAL(readyRead()),
-                         this, SLOT(readyToRead()));
+                         this, SLOT(readyToRead()), Qt::QueuedConnection);
         QObject::connect(dev, SIGNAL(aboutToClose()),
                          this, SLOT(aboutToClose()));
         QObject::connect(dev, SIGNAL(bytesWritten(qint64)),
@@ -422,7 +422,7 @@
 
 /*!
   Creates a copy of \a other.  The initial stream positions are shared, but the
-  two packets are otherwise independant.
+  two packets are otherwise independent.
  */
 QPacket::QPacket(const QPacket & other)
 : QDataStream(), b(other.b), buf(0)