# HG changeset patch # User Jacob Dawid # Date 1327453270 -3600 # Node ID 5c841498bf30442ad15f0b152cea39304a3ad3ea # Parent aeab072c37a91f3726f43d0007e1c5f9f8aa67bc Made receive blocking queued. diff -r aeab072c37a9 -r 5c841498bf30 libqterminal/SessionModel.cpp --- a/libqterminal/SessionModel.cpp Wed Jan 25 01:53:46 2012 +0100 +++ b/libqterminal/SessionModel.cpp Wed Jan 25 02:01:10 2012 +0100 @@ -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)) );