[Akonadi] [Bug 330010] KDEPIM .desktop file parser considers invalid the strings containing commas
Daniel Vrátil
dvratil at redhat.com
Fri Jan 17 13:10:47 GMT 2014
https://bugs.kde.org/show_bug.cgi?id=330010
Daniel Vrátil <dvratil at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Version Fixed In| |1.11.1
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/akon
| |adi/f28b675e7361b96c32a136c
| |7eda7e4ef864eb432
--- Comment #3 from Daniel Vrátil <dvratil at redhat.com> ---
Git commit f28b675e7361b96c32a136c7eda7e4ef864eb432 by Dan Vrátil.
Committed on 17/01/2014 at 14:06.
Pushed by dvratil into branch '1.11'.
Fix parsing of .desktop files entries with comma in value
We are using QSettings to parse .desktop files. QSettings however treats
a value with comma as a QStringList which is not compatible with KConfig's
behavior, because KConfig treats everything as a string by default.
This patch adds a small workaround for this QSettings behaviour and joins
the list back to a single string when a string value is expected.
For translators this means that Comment entries in Akonadi agents' .desktop
files don't have to be enclosed in double quotes anymore.
FIXED-IN: 1.11.1
M +31 -5 server/control/agenttype.cpp
M +3 -0 server/control/agenttype.h
http://commits.kde.org/akonadi/f28b675e7361b96c32a136c7eda7e4ef864eb432
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list