Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
9e141111
Commit
9e141111
authored
Apr 06, 2022
by
David Jarvie
Browse files
Set default resources created on first run as standard calendars
parent
99737933
Pipeline
#160482
passed with stage
in 1 minute and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Changelog
View file @
9e141111
...
...
@@ -4,6 +4,7 @@ KAlarm Change Log
* Allow calendars and date picker to be shown together in side panel [KDE Bug 440250]
* Shrink calendar list to remove empty space when too large.
* When a resource is re-enabled, ensure its alarms are displayed.
* When default resources are created on first run, set them as standard (default) calendars.
* Cancel sound file playback if audio alarm edit dialogue is closed after clicking Try.
* Remove all 'speak' functions if KAlarm is built with text-to-speech disabled.
* Add option to disable wake-from-suspend alarms if KAlarm is built without KAuth.
...
...
src/resources/migration/fileresourcemigrator.cpp
View file @
9e141111
...
...
@@ -570,7 +570,7 @@ void FileResourceMigrator::createCalendar(CalEvent::Type alarmType, const QStrin
qCDebug
(
KALARM_LOG
)
<<
"FileResourceMigrator: New:"
<<
name
<<
", type="
<<
alarmType
<<
", path="
<<
url
.
toString
();
FileResourceSettings
::
Ptr
settings
(
new
FileResourceSettings
(
FileResourceSettings
::
File
,
url
,
alarmType
,
name
,
QColor
(),
alarmType
,
C
al
Event
::
EMPTY
,
false
));
al
armType
,
false
));
Resource
resource
=
FileResourceConfigManager
::
addResource
(
settings
);
if
(
resource
.
failed
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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