[Amarok] d875d9d: Fix crash in about dialog

Mark Kretschmann kretschmann at kde.org
Fri Nov 26 06:45:36 CET 2010


On Tue, Nov 23, 2010 at 4:07 PM, Daniel Faust <hessijames at gmail.com> wrote:
> commit d875d9d84a2e8274d675aa7a3124523f19f72bf7
> branch master
> Author: Daniel Faust <hessijames at gmail.com>
> Date:   Tue Nov 23 16:06:48 2010 +0100
>
>    Fix crash in about dialog

[snip]

> +    QPointer<AnimatedBarWidget> m_showOcsDonorButton;

Please don't use QPointer any more, but instead use "QWeakPointer".
It's a new feature in Qt 4.6, and it works essentially the same way,
while being more performant.

QPointer is considered deprecated.

-- 
Mark Kretschmann
Amarok Developer, Software Engineer at KO GmbH
Fellow of the Free Software Foundation Europe
http://amarok.kde.org - http://fsfe.org - http://kogmbh.com


More information about the Amarok-devel mailing list