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
KMail
Commits
8c5c9bc0
Commit
8c5c9bc0
authored
Dec 01, 2021
by
Laurent Montel
😁
Browse files
reduce variable scope
parent
24c1428a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kontactplugin/summary/summaryview_plugin.cpp
View file @
8c5c9bc0
...
...
@@ -41,8 +41,8 @@ void SummaryView::fillSyncActionSubEntries()
mAllSync
=
mSyncAction
->
addAction
(
i18nc
(
"@action:inmenu sync everything"
,
"All"
));
QStringList
menuItems
;
if
(
QDBusConnection
::
sessionBus
().
interface
()
->
isServiceRegistered
(
QStringLiteral
(
"org.kde.kmail"
)))
{
QStringList
menuItems
;
org
::
kde
::
kmail
::
kmail
kmail
(
QStringLiteral
(
"org.kde.kmail"
),
QStringLiteral
(
"/KMail"
),
QDBusConnection
::
sessionBus
());
const
QDBusReply
<
QStringList
>
reply
=
kmail
.
accounts
();
if
(
reply
.
isValid
())
{
...
...
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