Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Runtime
Commits
9d9c0831
Commit
9d9c0831
authored
Nov 17, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix logic
parent
7741ba20
Pipeline
#41330
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
resources/pop3/accountwidget.cpp
resources/pop3/accountwidget.cpp
+4
-5
No files found.
resources/pop3/accountwidget.cpp
View file @
9d9c0831
...
...
@@ -213,14 +213,13 @@ void AccountWidget::walletOpenedForLoading(QKeychain::Job *baseJob)
{
auto
*
job
=
qobject_cast
<
ReadPasswordJob
*>
(
baseJob
);
Q_ASSERT
(
job
);
if
(
!
job
->
error
())
{
if
(
job
->
error
())
{
qCWarning
(
POP3RESOURCE_LOG
)
<<
"Failed to open wallet for loading the password."
<<
job
->
errorString
();
passwordEdit
->
lineEdit
()
->
setPlaceholderText
(
i18n
(
"Unable to open wallet"
));
}
else
{
passwordEdit
->
setPassword
(
job
->
textData
());
passwordEdit
->
setEnabled
(
true
);
passwordLabel
->
setEnabled
(
true
);
}
else
{
qCWarning
(
POP3RESOURCE_LOG
)
<<
"Failed to open wallet for loading the password."
<<
job
->
errorString
();
passwordEdit
->
lineEdit
()
->
setPlaceholderText
(
i18n
(
"Unable to open wallet"
));
}
}
...
...
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