diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-08-03 08:35:03 +0200 |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-08-03 08:35:03 +0200 |
commit | a0df97c03f26a38af17a42fb44ad6910536c8857 (patch) | |
tree | 649342f844bc29ab5bb1d497fe9fa06a4da0df4b /src/xml | |
parent | a08b3f5336e5c819b33d922d3a809b5203d728f3 (diff) | |
download | qt4-tools-a0df97c03f26a38af17a42fb44ad6910536c8857.tar.gz |
Compile fixes related to QScopedPointer.
Just a few small fixes to get things compiling with the QScopedPointer
changes.
Diffstat (limited to 'src/xml')
-rw-r--r-- | src/xml/sax/qxml.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp index 9177490c28..96a509d02d 100644 --- a/src/xml/sax/qxml.cpp +++ b/src/xml/sax/qxml.cpp @@ -568,9 +568,10 @@ QXmlParseException::QXmlParseException(const QString& name, int c, int l, /*! Creates a copy of \a other. */ -QXmlParseException::QXmlParseException(const QXmlParseException& other) +QXmlParseException::QXmlParseException(const QXmlParseException& other) : + d(new QXmlParseExceptionPrivate(*other.d)) { - d = new QXmlParseExceptionPrivate(*other.d); + } /*! |