Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Runtime
Commits
ba956650
Commit
ba956650
authored
Sep 07, 2020
by
Shashwat Jolly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "Unused parameters" warnings
parent
7cdaae14
Pipeline
#33439
failed with stage
in 80 minutes and 48 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
resources/etesync/calendartaskbasehandler.cpp
resources/etesync/calendartaskbasehandler.cpp
+4
-0
resources/etesync/contacthandler.cpp
resources/etesync/contacthandler.cpp
+4
-0
No files found.
resources/etesync/calendartaskbasehandler.cpp
View file @
ba956650
...
...
@@ -198,6 +198,8 @@ void CalendarTaskBaseHandler::itemAdded(const Akonadi::Item &item,
void
CalendarTaskBaseHandler
::
itemChanged
(
const
Akonadi
::
Item
&
item
,
const
QSet
<
QByteArray
>
&
parts
)
{
Q_UNUSED
(
parts
);
if
(
!
item
.
hasPayload
<
Incidence
::
Ptr
>
())
{
qCDebug
(
ETESYNC_LOG
)
<<
"Received item with unknown payload"
;
mResource
->
cancelTask
(
i18n
(
"Received item with unknown payload %1"
,
item
.
mimeType
()));
...
...
@@ -276,6 +278,8 @@ void CalendarTaskBaseHandler::itemRemoved(const Akonadi::Item &item)
void
CalendarTaskBaseHandler
::
collectionAdded
(
const
Akonadi
::
Collection
&
collection
,
const
Akonadi
::
Collection
&
parent
)
{
Q_UNUSED
(
parent
);
const
QString
journalUid
=
QStringFromCharPtr
(
CharPtr
(
etesync_gen_uid
()));
EteSyncJournalPtr
journal
=
etesync_journal_new
(
journalUid
,
ETESYNC_CURRENT_VERSION
);
...
...
resources/etesync/contacthandler.cpp
View file @
ba956650
...
...
@@ -195,6 +195,8 @@ void ContactHandler::itemAdded(const Akonadi::Item &item,
void
ContactHandler
::
itemChanged
(
const
Akonadi
::
Item
&
item
,
const
QSet
<
QByteArray
>
&
parts
)
{
Q_UNUSED
(
parts
);
if
(
!
item
.
hasPayload
<
KContacts
::
Addressee
>
())
{
qCDebug
(
ETESYNC_LOG
)
<<
"Received item with unknown payload"
;
mResource
->
cancelTask
(
i18n
(
"Received item with unknown payload %1"
,
item
.
mimeType
()));
...
...
@@ -279,6 +281,8 @@ void ContactHandler::itemRemoved(const Akonadi::Item &item)
void
ContactHandler
::
collectionAdded
(
const
Akonadi
::
Collection
&
collection
,
const
Akonadi
::
Collection
&
parent
)
{
Q_UNUSED
(
parent
);
const
QString
journalUid
=
QStringFromCharPtr
(
CharPtr
(
etesync_gen_uid
()));
EteSyncJournalPtr
journal
=
etesync_journal_new
(
journalUid
,
ETESYNC_CURRENT_VERSION
);
...
...
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