summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-06-03 08:38:32 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-06-03 08:38:32 (GMT)
commita8829a52d65a9759d5dffe98fb07b384c54db1c8 (patch)
tree59559409ffaa4f204685bdf1ab7e0721d79203b1 /doc/src/snippets
parenta7189fb75a168f89db07d07eeb4f7fcd35d69942 (diff)
parentab9cb342554e89e0ff51afe3e8063d2719af16b1 (diff)
downloadQt-a8829a52d65a9759d5dffe98fb07b384c54db1c8.zip
Qt-a8829a52d65a9759d5dffe98fb07b384c54db1c8.tar.gz
Qt-a8829a52d65a9759d5dffe98fb07b384c54db1c8.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (30 commits) Revert "Split Symbian bearer plugin into three platform specfic plugins" Don't poll non-polling engines when configurations are in use. Doc: updating images Fix a corner case where a gesture sometimes doesn't start. write PO files without duplicated message ids my changes Fix failing bypassShaping autotest on the Mac OS X More Pixmap cache key optimizations QNAM: Improve child deletion order QSslCertificate: support large serial numbers Split Symbian bearer plugin into three platform specfic plugins Doc: adding offline docs to assistant and Qt Creator. Improving small docs and adding highlighting Some optimizations for QImage::load() fix setRawData() Fix QML crashes on the N900 doc: Added DITA XML generator Fix build failure on Symbian 3.1. Add the Qt::TextBypassShaping flag. QTextEngine: skip an unnecessary call to GetDeviceCaps on Windows. Add my 4.7.0 changes ...
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/qxmlschema/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/src/snippets/qxmlschema/main.cpp b/doc/src/snippets/qxmlschema/main.cpp
index 83fb245..26a8741 100644
--- a/doc/src/snippets/qxmlschema/main.cpp
+++ b/doc/src/snippets/qxmlschema/main.cpp
@@ -91,11 +91,8 @@ void Schema::loadFromData() const
" elementFormDefault=\"qualified\">"
"</xsd:schema>" );
- QBuffer buffer(&data);
- buffer.open(QIODevice::ReadOnly);
-
QXmlSchema schema;
- schema.load(&buffer);
+ schema.load(data);
if (schema.isValid())
qDebug() << "schema is valid";