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
PIM
KDE PIM Runtime
Commits
6fd4addc
Commit
6fd4addc
authored
Mar 08, 2013
by
Laurent Montel
😁
Browse files
Fix Bug 279325 - access to kwallet is not closed after closing kmail
FIXED-IN: 4.10.2 BUG: 279325
parent
c1ffc086
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/imap/imapresource.cpp
View file @
6fd4addc
...
...
@@ -493,6 +493,7 @@ void ImapResource::doSetOnline(bool online)
m_taskList
.
clear
();
delete
m_idle
;
m_idle
=
0
;
Settings
::
self
()
->
clearCachedPassword
();
}
else
if
(
online
&&
!
m_pool
->
isConnected
()
)
{
scheduleConnectionAttempt
();
}
...
...
resources/imap/settings.cpp
View file @
6fd4addc
...
...
@@ -107,6 +107,11 @@ void Settings::setWinId( WId winId )
m_winId
=
winId
;
}
void
Settings
::
clearCachedPassword
()
{
m_password
.
clear
();
}
void
Settings
::
requestPassword
()
{
if
(
!
m_password
.
isEmpty
()
||
...
...
resources/imap/settings.h
View file @
6fd4addc
...
...
@@ -48,6 +48,8 @@ public:
QString
rootRemoteId
()
const
;
void
renameRootCollection
(
const
QString
&
newName
);
void
clearCachedPassword
();
signals:
void
passwordRequestCompleted
(
const
QString
&
password
,
bool
userRejected
);
...
...
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