Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
1480d1d0
Commit
1480d1d0
authored
Sep 29, 2005
by
jpbl
Browse files
digits are now the only characters to be able to choose a line if there's no current
parent
9564f55a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/gui/official/PhoneLineManagerImpl.cpp
View file @
1480d1d0
...
...
@@ -196,10 +196,12 @@ PhoneLineManagerImpl::sendKey(Qt::Key c)
PhoneLine
*
selectedLine
=
getCurrentLine
();
if
(
!
selectedLine
)
{
// Only digits that select a line if there's
// no current line.
if
(
!
selectedLine
&&
QChar
(
c
).
isDigit
())
{
selectedLine
=
selectNextAvailableLine
();
}
if
(
selectedLine
)
{
PhoneLineLocker
guard
(
selectedLine
);
selectedLine
->
sendKey
(
c
);
...
...
src/gui/official/TCPSessionIO.cpp
View file @
1480d1d0
...
...
@@ -45,9 +45,8 @@ TCPSessionIO::~TCPSessionIO()
void
TCPSessionIO
::
error
()
{
_debug
(
"TCPSessionIO: %s. %d
\n
"
,
mSocket
->
errorString
().
toStdString
().
c_str
(),
mSocket
->
state
());
_debug
(
"TCPSessionIO: %s.
\n
"
,
mSocket
->
errorString
().
toStdString
().
c_str
());
mSocket
->
close
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment