From kde-core-devel Tue Mar 12 09:14:36 2002 From: Lars Knoll Date: Tue, 12 Mar 2002 09:14:36 +0000 To: kde-core-devel Subject: Re: [PATCH] KNewsTicker X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101592471004569 > On March 11, 2002 07:26, Frerich Raabe wrote: > > Hi, > > > > I've attached three patches for KNewsTicker. > > ... > > > These two patches (well, actually only the first > > The third patch is in xmlnewsaccess.diff - it makes KNewsTicker parse > > even slightly invalid XML files (Those which start with whitespace > > instead of ' > me by Volker. > > Instead of the: > (*charData == ' ' || *charData == '\n' || *charData == '\t' || *charData == > '\r') ) > > I'd look in to using QChar::isSpace(), as it handles all the characters you > check for, plus two you missed (characters 11 and 12). You could if charData was a pointer to a QChar and not a char. Lars