Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Bluedevil
Commits
619c4ac8
Commit
619c4ac8
authored
Dec 30, 2012
by
Àlex Fiestas
Browse files
Check if the map contains the session.
BUG: 308324
parent
386c61e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/daemon/obexftpkded/ObexFtpDaemon.cpp
View file @
619c4ac8
...
...
@@ -127,7 +127,7 @@ void ObexFtpDaemon::offlineMode()
QHash
<
QString
,
ObexSession
*>::
const_iterator
i
=
d
->
m_sessionMap
.
constBegin
();
while
(
i
!=
d
->
m_sessionMap
.
constEnd
())
{
if
(
d
->
m_sessionMap
[
i
.
key
()
]
)
{
if
(
d
->
m_sessionMap
.
contains
(
i
.
key
()
)
)
{
d
->
m_sessionMap
[
i
.
key
()]
->
Disconnect
();
d
->
m_sessionMap
[
i
.
key
()]
->
Close
();
d
->
m_sessionMap
[
i
.
key
()]
->
deleteLater
();
...
...
Write
Preview
Supports
Markdown
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