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
f838ab3f
Commit
f838ab3f
authored
Nov 11, 2021
by
Laurent Montel
😁
Browse files
Fix resource crash when we have an error => mProgressDialog was not
created => show it before start job
parent
5b687767
Pipeline
#96402
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
resources/ews/ewsconfigdialog.cpp
View file @
f838ab3f
...
...
@@ -237,8 +237,8 @@ void EwsConfigDialog::performAutoDiscovery()
connect
(
mAutoDiscoveryJob
,
&
EwsAutodiscoveryJob
::
result
,
this
,
&
EwsConfigDialog
::
autoDiscoveryFinished
);
mProgressDialog
=
new
EwsProgressDialog
(
this
,
EwsProgressDialog
::
AutoDiscovery
);
connect
(
mProgressDialog
,
&
QDialog
::
rejected
,
this
,
&
EwsConfigDialog
::
autoDiscoveryCancelled
);
mAutoDiscoveryJob
->
start
();
mProgressDialog
->
show
();
mAutoDiscoveryJob
->
start
();
}
void
EwsConfigDialog
::
autoDiscoveryFinished
(
KJob
*
job
)
...
...
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