[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE_3_1_BRANCH: kdelibs/kdeui
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2003-07-30 11:55:51
[Download RAW message or body]
On Wed, Jul 30, 2003 at 01:49:04PM +0200, Stephan Binner wrote:
> CVS commit by binner:
>
> Replaced KGuiItem::plainText() with speed-optimized and Qt version-aware HEAD
>
>
> M +29 -3 kguiitem.cpp 1.14.2.1
>
>
> --- kdelibs/kdeui/kguiitem.cpp #1.14:1.14.2.1
> +#if QT_VERSION >= 0x030200
> + if (data[pos] != '&')
> + stripped[resultLength++] = data[pos];
> + else if (pos+1<len && data[pos+1]=='&')
> + stripped[resultLength++] = data[pos++];
> +#else
> + //We pass through any non-ampersand character,
> + //and any ampersand that's preceded by an ampersand
> + if (data[pos] != '&' || (pos >= 1 && data[pos-1] == '&') )
> + stripped[resultLength++] = data[pos];
> +#endif
the fun part is, that this needs to be detected at run-time to be really
useful ...
greetings
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic