Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
d9f9b316
Commit
d9f9b316
authored
Dec 19, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be sure to block all
parent
6b175418
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
calendarsupport/collectiongeneralpage.cpp
calendarsupport/collectiongeneralpage.cpp
+5
-3
No files found.
calendarsupport/collectiongeneralpage.cpp
View file @
d9f9b316
...
...
@@ -180,9 +180,11 @@ void CollectionGeneralPage::save( Collection &collection )
}
if
(
mBlockAlarmsCheckBox
->
isChecked
()
)
{
if
(
!
collection
.
hasAttribute
<
BlockAlarmsAttribute
>
()
)
{
collection
.
attribute
<
BlockAlarmsAttribute
>
(
Collection
::
AddIfMissing
);
}
BlockAlarmsAttribute
*
attr
=
collection
.
attribute
<
BlockAlarmsAttribute
>
(
Collection
::
AddIfMissing
);
attr
->
blockAlarmType
(
KCalCore
::
Alarm
::
Audio
,
true
);
attr
->
blockAlarmType
(
KCalCore
::
Alarm
::
Display
,
true
);
attr
->
blockAlarmType
(
KCalCore
::
Alarm
::
Email
,
true
);
attr
->
blockAlarmType
(
KCalCore
::
Alarm
::
Procedure
,
true
);
}
else
{
collection
.
removeAttribute
<
BlockAlarmsAttribute
>
();
}
...
...
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