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
KAlarmCal
Commits
d4b06693
Commit
d4b06693
authored
Feb 04, 2021
by
Laurent Montel
😁
Browse files
Use auto vs auto * where it's possible
parent
e8950f4a
Pipeline
#49673
failed with stage
in 10 minutes and 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/karecurrence.cpp
View file @
d4b06693
...
...
@@ -513,7 +513,7 @@ void KARecurrence::Private::writeRecurrence(const KARecurrence *q, Recurrence &r
// It recurs on the 29th February.
// Create an additional 60th day of the year, or last day of February, rule.
auto
*
rrule2
=
new
RecurrenceRule
();
auto
rrule2
=
new
RecurrenceRule
();
rrule2
->
setRecurrenceType
(
RecurrenceRule
::
rYearly
);
rrule2
->
setFrequency
(
freq
);
rrule2
->
setStartDt
(
mRecurrence
.
startDateTime
());
...
...
@@ -625,7 +625,7 @@ KADateTime KARecurrence::Private::endDateTime() const
* 4 years. So shift the temporary recurrence date to the 28th to ensure
* that it occurs every year, thus giving the correct occurrence count.
*/
auto
*
rrule
=
new
RecurrenceRule
();
auto
rrule
=
new
RecurrenceRule
();
rrule
->
setRecurrenceType
(
RecurrenceRule
::
rYearly
);
KADateTime
dt
=
KADateTime
(
mRecurrence
.
startDateTime
());
QDate
da
=
dt
.
date
();
...
...
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