From 62063f5728babce55469f86af4dd218dc8a3cf0a Mon Sep 17 00:00:00 2001 From: jpbl Date: Mon, 29 Aug 2005 17:44:53 +0000 Subject: [PATCH] See Changelog --- CHANGES | 1 + ChangeLog | 5 ++++- src/gui/qt/qtGUImainwindow.cpp | 7 ++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index eeed46df5..46a79d0dd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,7 @@ SFLphone (0.4.1-pre2) / now * rearranged utilspp use + * Bug fix when trying to use more than 6 lines. SFLphone (0.4.1-pre1) / 2005-08-11 * Use libeXosip2 diff --git a/ChangeLog b/ChangeLog index 0c1ca3146..c1435fbd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -Jean-Philippe Barette-LaPierre (28 April 2005) version 0.4.1-pre1 +Jean-Philippe Barette-LaPierre (29 April 2005) version 0.4.1-pre1 +- Bug fix when trying to use more than 6 lines. + +Jean-Philippe Barette-LaPierre (20 August 2005) version 0.4.1-pre1 - Manager has now a LifetimeLibrary policy. - Utilspp has been rearranged. diff --git a/src/gui/qt/qtGUImainwindow.cpp b/src/gui/qt/qtGUImainwindow.cpp index 32696aa66..4e05615a4 100644 --- a/src/gui/qt/qtGUImainwindow.cpp +++ b/src/gui/qt/qtGUImainwindow.cpp @@ -1007,9 +1007,14 @@ QtGUIMainWindow::qt_outgoingCall (void) id = outgoingCall(to); if (id > 0) { - line = associateCall2Line(id); + line = associateCall2Line(id); + if(line == -1) { + _debug("Call %d -> there's no available lines\n", id); + return -1; + } _debug("Call %d -> line %d\n", id, line); + // To store information about stop scrolling text _lcd->resetForScrolling (false); phLines[line]->setStopScrolling(false);