Hi,

when looking at the code of the qt solutions (from git), I realized following 
snippet:

class QT_QTSOAP_EXPORT QtSoapHttpTransport : public QObject
{
   ...
private:
    QNetworkAccessManager networkMgr;
   ...
};

QtSoapHttpTransport::QtSoapHttpTransport(QObject *parent)
    : QObject(parent), networkMgr(this)
{
   ...
}

Is there any reason why the QNetworkAccessManager needs to be initialized with 
the 'this' reference?
Seems like a wrong approach to me - maybe because it used to be a pointer at 
some point in time?

I found this when analyzing some weird and not really reproducible stack 
traces ...

Frank
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to