diff options
author | Darrell Anderson <[email protected]> | 2012-06-08 15:56:39 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-06-08 15:56:39 -0500 |
commit | 829790146716bc30c2e98cf2a767e60f60e5143a (patch) | |
tree | 9ec044f1ff90653dc07bc9e50254ab56c61b7144 /kresources/kolab/kcal/incidence.cpp | |
parent | 66914d2878a6cadacbaf6ceacdd74d2999e4114e (diff) | |
download | tdepim-829790146716bc30c2e98cf2a767e60f60e5143a.tar.gz tdepim-829790146716bc30c2e98cf2a767e60f60e5143a.zip |
Update XDG information in support of bug report 892.
Diffstat (limited to 'kresources/kolab/kcal/incidence.cpp')
-rw-r--r-- | kresources/kolab/kcal/incidence.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/kolab/kcal/incidence.cpp b/kresources/kolab/kcal/incidence.cpp index 2617da4a1..ddc31491b 100644 --- a/kresources/kolab/kcal/incidence.cpp +++ b/kresources/kolab/kcal/incidence.cpp @@ -532,7 +532,7 @@ bool Incidence::loadAttribute( TQDomElement& element ) // Unhandled tag - save for later storage //kdDebug() << "Saving unhandled tag " << element.tagName() << endl; Custom c; - c.key = TQCString( "X-KDE-KolabUnhandled-" ) + element.tagName().latin1(); + c.key = TQCString( "X-TDE-KolabUnhandled-" ) + element.tagName().latin1(); c.value = element.text(); mCustomList.append( c ); } @@ -574,8 +574,8 @@ void Incidence::saveCustomAttributes( TQDomElement& element ) const for ( ; it != mCustomList.end(); ++it ) { TQString key = (*it).key; Q_ASSERT( !key.isEmpty() ); - if ( key.startsWith( "X-KDE-KolabUnhandled-" ) ) { - key = key.mid( strlen( "X-KDE-KolabUnhandled-" ) ); + if ( key.startsWith( "X-TDE-KolabUnhandled-" ) ) { + key = key.mid( strlen( "X-TDE-KolabUnhandled-" ) ); writeString( element, key, (*it).value ); } else { // Let's use attributes so that other tag-preserving-code doesn't need sub-elements |