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
P
PIM Data Exporter
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
PIM
PIM Data Exporter
Commits
7e48202c
Commit
7e48202c
authored
May 05, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import/export GlobalCollectionView settings
(cherry picked from commit
e3c0e311
)
parent
822dbf6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
core/calendar/exportcalendarjob.cpp
core/calendar/exportcalendarjob.cpp
+7
-0
core/calendar/importcalendarjob.cpp
core/calendar/importcalendarjob.cpp
+1
-0
No files found.
core/calendar/exportcalendarjob.cpp
View file @
7e48202c
...
...
@@ -157,6 +157,13 @@ void ExportCalendarJob::backupConfig()
Utils
::
convertCollectionListToRealPath
(
group
,
selectionKey
);
}
const
QString
globalCollectionViewStr
(
QStringLiteral
(
"GlobalCollectionView"
));
if
(
korganizerConfig
->
hasGroup
(
globalCollectionViewStr
))
{
KConfigGroup
group
=
korganizerConfig
->
group
(
globalCollectionViewStr
);
const
QString
selectionKey
(
QStringLiteral
(
"Expansion"
));
convertCollectionListToRealPath
(
group
,
selectionKey
);
}
korganizerConfig
->
sync
();
backupFile
(
tmp
.
fileName
(),
Utils
::
configsPath
(),
korganizerStr
);
delete
korganizerConfig
;
...
...
core/calendar/importcalendarjob.cpp
View file @
7e48202c
...
...
@@ -295,6 +295,7 @@ void ImportCalendarJob::importkorganizerConfig(const KArchiveFile *file, const Q
convertCollectionListStrToAkonadiId
(
korganizerConfig
,
QStringLiteral
(
"GlobalCollectionSelection"
),
QStringLiteral
(
"Selection"
),
true
);
convertCollectionListStrToAkonadiId
(
korganizerConfig
,
QStringLiteral
(
"CollectionTreeView"
),
QStringLiteral
(
"Expansion"
),
true
);
convertCollectionListStrToAkonadiId
(
korganizerConfig
,
QStringLiteral
(
"GlobalCollectionView"
),
QStringLiteral
(
"Expansion"
),
true
);
korganizerConfig
->
sync
();
}
...
...
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