changeset 15644:5c841498bf30 draft

Made receive blocking queued.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Wed, 25 Jan 2012 02:01:10 +0100
parents aeab072c37a9
children f3ec6627e00d
files libqterminal/SessionModel.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libqterminal/SessionModel.cpp
+++ b/libqterminal/SessionModel.cpp
@@ -101,10 +101,10 @@
     _selfListener = new SelfListener(kpty->masterFd());
     _selfListener->start();
     connect( _selfListener, SIGNAL(recvData(const char*,int)),
-             this, SLOT(onReceiveBlock(const char*,int)));
+             this, SLOT(onReceiveBlock(const char*,int)), Qt::BlockingQueuedConnection);
 
     connect( _emulation, SIGNAL(sendData(const char*,int))
-             ,this,SLOT(sendData(const char*,int)) );
+             ,this,SLOT(sendData(const char*,int)));
 
     //connect( _emulation,SIGNAL(lockPtyRequest(bool)),_shellProcess,SLOT(lockPty(bool)) );
     //connect( _emulation,SIGNAL(useUtf8Request(bool)),_shellProcess,SLOT(setUtf8Mode(bool)) );