diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 03:48:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 03:48:29 (GMT) |
commit | 6089208e78bdcb0091c0ba0bc2fbd2a4fc0806de (patch) | |
tree | 028c3e5cca89136c11cdcdebed74f1980a1c97f4 /src/declarative/qml/qmlcomponent.cpp | |
parent | b4b34a9a50c28cb65f81a12d94b61cc6f9a19051 (diff) | |
download | Qt-6089208e78bdcb0091c0ba0bc2fbd2a4fc0806de.zip Qt-6089208e78bdcb0091c0ba0bc2fbd2a4fc0806de.tar.gz Qt-6089208e78bdcb0091c0ba0bc2fbd2a4fc0806de.tar.bz2 |
Remove QML XML support
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r-- | src/declarative/qml/qmlcomponent.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp index 1e167d5..b1beb9c 100644 --- a/src/declarative/qml/qmlcomponent.cpp +++ b/src/declarative/qml/qmlcomponent.cpp @@ -60,17 +60,6 @@ QT_BEGIN_NAMESPACE class QByteArray; -bool QmlComponentPrivate::isXml(const QByteArray &ba) -{ - for (int i = 0; i < ba.size(); ++i) { - char c = ba.at(i); - if (c == ' ' || c == '\n' || c == '\r' || c == '\t') - continue; - return (c == '<'); - } - return true; -} - /*! \class QmlComponent \brief The QmlComponent class encapsulates a QML component description. |