diff -r 910ba9fab728 -r 8059b6aa74d7 xml.cpp --- a/xml.cpp Thu Dec 14 17:01:44 2006 +0000 +++ b/xml.cpp Fri Dec 29 13:52:17 2006 +0000 @@ -2,7 +2,6 @@ #include #include -// #include #include #include @@ -528,21 +527,6 @@ } file.close(); - /* TODO very likely not needed any longer - // Convert to richtext - if ( !Q3StyleSheet::mightBeRichText( lines ) ) - { - // Here we are workarounding the QT conversion method: - // convertFromPlainText does not generate valid xml, needed - // for the parser, but just

and
without closing tags. - // So we have to add those by ourselves - //lines=quotemeta (lines); - qWarning ("xml.cpp: Still using Q3StyleSheet::mightBeRichText"); - lines = Q3StyleSheet::convertFromPlainText( lines, Q3StyleSheetItem::WhiteSpaceNormal ); - lines.replace ("
","
"); - } - */ - lines =""+lines + "

"; no.setNote (lines); }