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
0d417740
Commit
0d417740
authored
Oct 27, 2021
by
Laurent Montel
😁
Browse files
Fix coding style
parent
43957bd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/kmkernel.cpp
View file @
0d417740
...
...
@@ -1191,8 +1191,10 @@ void KMKernel::closeAllKMailWindows()
void
KMKernel
::
cleanup
()
{
disconnect
(
Akonadi
::
AgentManager
::
self
(),
SIGNAL
(
instanceStatusChanged
(
Akonadi
::
AgentInstance
)));
disconnect
(
Akonadi
::
AgentManager
::
self
(),
SIGNAL
(
instanceError
(
Akonadi
::
AgentInstance
,
QString
)));
disconnect
(
Akonadi
::
AgentManager
::
self
(),
SIGNAL
(
instanceWarning
(
Akonadi
::
AgentInstance
,
QString
)));
// clang-format off
disconnect
(
Akonadi
::
AgentManager
::
self
(),
SIGNAL
(
instanceError
(
Akonadi
::
AgentInstance
,
QString
)));
disconnect
(
Akonadi
::
AgentManager
::
self
(),
SIGNAL
(
instanceWarning
(
Akonadi
::
AgentInstance
,
QString
)));
// clang-format on
disconnect
(
Akonadi
::
AgentManager
::
self
(),
SIGNAL
(
instanceRemoved
(
Akonadi
::
AgentInstance
)));
// clang-format off
disconnect
(
KPIM
::
ProgressManager
::
instance
(),
SIGNAL
(
progressItemCompleted
(
KPIM
::
ProgressItem
*
)));
...
...
src/kmmainwidget.cpp
View file @
0d417740
...
...
@@ -398,11 +398,13 @@ void KMMainWidget::destruct()
delete
mSelectFromAllFoldersDialog
;
delete
mSievePasswordProvider
;
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
itemAdded
(
Akonadi
::
Item
,
Akonadi
::
Collection
)),
this
,
nullptr
);
// clang-format off
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
itemAdded
(
Akonadi
::
Item
,
Akonadi
::
Collection
)),
this
,
nullptr
);
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
itemMoved
(
Akonadi
::
Item
,
Akonadi
::
Collection
,
Akonadi
::
Collection
)),
this
,
nullptr
);
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
collectionChanged
(
Akonadi
::
Collection
,
QSet
<
QByteArray
>
)),
this
,
nullptr
);
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
collectionStatisticsChanged
(
Akonadi
::
Collection
::
Id
,
Akonadi
::
CollectionStatistics
)),
this
,
nullptr
);
// clang-format on
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
itemRemoved
(
Akonadi
::
Item
)),
this
,
nullptr
);
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
itemMoved
(
Akonadi
::
Item
,
Akonadi
::
Collection
,
Akonadi
::
Collection
)),
this
,
nullptr
);
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
collectionChanged
(
Akonadi
::
Collection
,
QSet
<
QByteArray
>
)),
this
,
nullptr
);
disconnect
(
kmkernel
->
folderCollectionMonitor
(),
SIGNAL
(
collectionStatisticsChanged
(
Akonadi
::
Collection
::
Id
,
Akonadi
::
CollectionStatistics
)),
this
,
nullptr
);
mDestructed
=
true
;
}
...
...
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