KDE/kdevplatform/shell

Milian Wolff mail at milianw.de
Tue Jul 21 10:48:10 UTC 2009


Am Dienstag, 21. Juli 2009 07:23:09 schrieb Andreas Pakulat:
> On 19.07.09 13:26:37, Milian Wolff wrote:
> > SVN commit 999227 by mwolff:
> >
> > fix warning for copy constructor not initializing base class QObject.
> >
> > I first wanted to do : QObject(rhs) but that is private :-/ hope this fix
> > is correct.
>
> We should never have a public/private/protected copy constructor for any
> QObject based class. That doesn't make the slightest sence. For example
> this one will loose the connection to the parent and hence will create a
> memory leak.

so what should I do?

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090721/7e78a8e1/attachment.sig>


More information about the KDevelop-devel mailing list