]> git.pld-linux.org Git - packages/kde4-kdepimlibs.git/blame - kdepimlibs-strict-parsing.patch
- up to 4.10.4
[packages/kde4-kdepimlibs.git] / kdepimlibs-strict-parsing.patch
CommitLineData
771bbb58
AM
1From: Montel Laurent <montel@kde.org>
2Date: Wed, 19 Sep 2012 12:59:54 +0000
3Subject: Fix potential error when identity path is a string (bad conversion).
4X-Git-Tag: v4.9.2
5X-Git-Url: http://quickgit.kde.org/?p=kdepimlibs.git&a=commitdiff&h=33acd1d6cc5a48974fc1093700d70caf04ae9644
6---
7Fix potential error when identity path is a string (bad conversion).
8
9in kde5 we will modify to akonadi::id
10---
11
12
13--- a/kpimidentities/identity.cpp
14+++ b/kpimidentities/identity.cpp
15@@ -428,17 +428,20 @@
16
17 QString Identity::templates() const
18 {
19- return property( QLatin1String( s_templates ) ).toString();
20+ const QString str = property( QLatin1String( s_templates ) ).toString();
21+ return verifyAkonadiId(str);
22 }
23
24 QString Identity::drafts() const
25 {
26- return property( QLatin1String( s_drafts ) ).toString();
27+ const QString str = property( QLatin1String( s_drafts ) ).toString();
28+ return verifyAkonadiId(str);
29 }
30
31 QString Identity::fcc() const
32 {
33- return property( QLatin1String( s_fcc ) ).toString();
34+ const QString str = property( QLatin1String( s_fcc ) ).toString();
35+ return verifyAkonadiId(str);
36 }
37
38 QString Identity::transport() const
39
This page took 0.026863 seconds and 4 git commands to generate.