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
KMailTransport
Commits
768823f4
Commit
768823f4
authored
Nov 25, 2020
by
Laurent Montel
😁
Browse files
Allow to delete password
parent
2bff6bfe
Pipeline
#42009
passed with stage
in 10 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmailtransport/transportmanager.cpp
View file @
768823f4
...
...
@@ -390,13 +390,11 @@ void TransportManager::removeTransport(int id)
d
->
transports
.
removeAll
(
t
);
d
->
validateDefault
();
QString
group
=
t
->
currentGroup
();
const
QString
group
=
t
->
currentGroup
();
if
(
t
->
storePassword
())
{
//Move async
Wallet
*
currentWallet
=
wallet
();
if
(
currentWallet
)
{
currentWallet
->
removeEntry
(
QString
::
number
(
t
->
id
()));
}
auto
deleteJob
=
new
DeletePasswordJob
(
WALLET_FOLDER
);
deleteJob
->
setKey
(
QString
::
number
(
t
->
id
()));
deleteJob
->
start
();
}
delete
t
;
d
->
config
->
deleteGroup
(
group
);
...
...
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