Skip to content
Snippets Groups Projects
Commit c8f9f838 authored by yanmorin's avatar yanmorin
Browse files

QT Transfer stop flashing

parent 0723471d
Branches
Tags
No related merge requests found
2006-09-06 Yan Morin
* Fix packaging problem for 0.7.0 release (fedora.spec)
* Use portaudio with PA_ALSA_PLUGHW (enable alsa resampling)
* Use SFLDEBUG instead of DEBUG. DEBUG is use by QT
* Desactivate line flashing when a call is transfered
2006-08-31 Yan Morin 2006-08-31 Yan Morin
* Improve launcher (only start if needed). If the daemon is started, qt won't stop it. * Improve launcher (only start if needed). If the daemon is started, qt won't stop it.
......
...@@ -334,10 +334,10 @@ PhoneLine::transfer() ...@@ -334,10 +334,10 @@ PhoneLine::transfer()
{ {
if(mCall) { if(mCall) {
if(mBuffer.length() == 0) { if(mBuffer.length() == 0) {
DebugOutput::instance() << tr("PhoneLine %1: We're now in transfer mode.\n"); DebugOutput::instance() << tr("PhoneLine %1: We're now in transfer mode.\n").arg(mLine);
setAction(tr("Transfer to:")); setAction(tr("Transfer to:"));
clear(); clear();
unselect(); unselect(true);
mIsTransfering = true; mIsTransfering = true;
} }
else { else {
...@@ -357,6 +357,7 @@ void ...@@ -357,6 +357,7 @@ void
PhoneLine::finishTransfer() PhoneLine::finishTransfer()
{ {
clearCall(); clearCall();
unselect(true);
stopTalking(); stopTalking();
if(mIsTransfering) { if(mIsTransfering) {
......
...@@ -122,6 +122,8 @@ SFLPhoneApp::initConnections(SFLPhoneWindow *w) ...@@ -122,6 +122,8 @@ SFLPhoneApp::initConnections(SFLPhoneWindow *w)
*pos, SLOT(setOn(bool))); *pos, SLOT(setOn(bool)));
QObject::connect(line, SIGNAL(backgrounded()), QObject::connect(line, SIGNAL(backgrounded()),
*pos, SLOT(suspend())); *pos, SLOT(suspend()));
QObject::connect(line, SIGNAL(transfered()),
*pos, SLOT(stopFlashing()));
QObject::connect(line, SIGNAL(hanguped()), QObject::connect(line, SIGNAL(hanguped()),
*pos, SLOT(stopFlashing())); *pos, SLOT(stopFlashing()));
QObject::connect(line, SIGNAL(peerUpdated(QString)), QObject::connect(line, SIGNAL(peerUpdated(QString)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment