Skip to content
GitLab
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 Add-ons
Commits
a952a3e6
Commit
a952a3e6
authored
Sep 03, 2022
by
Laurent Montel
Browse files
Create configure dialog on stack
parent
ad58962b
Changes
1
Hide whitespace changes
Inline
Side-by-side
kmail/grammarplugins/languagetool/plugin/languagetoolplugin.cpp
View file @
a952a3e6
...
...
@@ -45,11 +45,10 @@ bool LanguageToolPlugin::hasConfigureDialog() const
void
LanguageToolPlugin
::
showConfigureDialog
(
QWidget
*
parent
)
{
QPointer
<
LanguageToolConfigDialog
>
dlg
=
new
LanguageToolConfigDialog
(
parent
);
if
(
dlg
->
exec
())
{
LanguageToolConfigDialog
dlg
(
parent
);
if
(
dlg
.
exec
())
{
LanguageToolManager
::
self
()
->
loadSettings
();
}
delete
dlg
;
}
#include
"languagetoolplugin.moc"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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