summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml2
-rw-r--r--examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml2
-rw-r--r--examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml2
-rw-r--r--examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml2
-rw-r--r--examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml2
-rw-r--r--examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml2
-rw-r--r--examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml2
-rw-r--r--examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml2
-rw-r--r--examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml2
-rw-r--r--examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml2
-rw-r--r--src/declarative/graphicsitems/qdeclarativeflickable.cpp2
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp2
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
-rw-r--r--src/declarative/qml/qdeclarativeerror.cpp2
-rw-r--r--src/declarative/util/qdeclarativeanimation.cpp2
-rw-r--r--src/doc/src/declarative/example-slideswitch.qdoc2
-rw-r--r--src/doc/src/declarative/qdeclarativemodels.qdoc2
-rw-r--r--src/doc/src/declarative/righttoleft.qdoc2
-rw-r--r--src/imports/shaders/shadereffectsource.cpp3
-rw-r--r--src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp2
-rw-r--r--tests/auto/declarative/qdeclarativeqt/data/darker.qml2
-rw-r--r--tests/auto/declarative/qdeclarativeqt/data/lighter.qml2
-rw-r--r--tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml2
23 files changed, 23 insertions, 24 deletions
diff --git a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml
index f8d3df79..ba495241 100644
--- a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml
+++ b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml
@@ -72,7 +72,7 @@ Rectangle {
}
}
- // Define a highlight with customised movement between items.
+ // Define a highlight with customized movement between items.
Component {
id: highlightBar
Rectangle {
diff --git a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml
index 1935a6ff..aca2f6c9 100644
--- a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml
+++ b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml
@@ -56,7 +56,7 @@ Rectangle {
// item visible.
//
// The second ListView sets a highlight range which attempts to keep the
- // current item within the the bounds of the range. However,
+ // current item within the bounds of the range. However,
// items will not scroll beyond the beginning or end of the view,
// forcing the highlight to move outside the range at the ends.
//
diff --git a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml
index f8d3df79..ba495241 100644
--- a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml
+++ b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml
@@ -72,7 +72,7 @@ Rectangle {
}
}
- // Define a highlight with customised movement between items.
+ // Define a highlight with customized movement between items.
Component {
id: highlightBar
Rectangle {
diff --git a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml
index 1935a6ff..aca2f6c9 100644
--- a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml
+++ b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml
@@ -56,7 +56,7 @@ Rectangle {
// item visible.
//
// The second ListView sets a highlight range which attempts to keep the
- // current item within the the bounds of the range. However,
+ // current item within the bounds of the range. However,
// items will not scroll beyond the beginning or end of the view,
// forcing the highlight to move outside the range at the ends.
//
diff --git a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml
index 6f447dca..c3e20e30 100644
--- a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml
+++ b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml
@@ -73,7 +73,7 @@ Rectangle {
}
}
- // Define a highlight with customised movement between items.
+ // Define a highlight with customized movement between items.
Component {
id: highlightBar
Rectangle {
diff --git a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml
index 1935a6ff..aca2f6c9 100644
--- a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml
+++ b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml
@@ -56,7 +56,7 @@ Rectangle {
// item visible.
//
// The second ListView sets a highlight range which attempts to keep the
- // current item within the the bounds of the range. However,
+ // current item within the bounds of the range. However,
// items will not scroll beyond the beginning or end of the view,
// forcing the highlight to move outside the range at the ends.
//
diff --git a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml
index f8d3df79..ba495241 100644
--- a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml
+++ b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml
@@ -72,7 +72,7 @@ Rectangle {
}
}
- // Define a highlight with customised movement between items.
+ // Define a highlight with customized movement between items.
Component {
id: highlightBar
Rectangle {
diff --git a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml
index 1935a6ff..aca2f6c9 100644
--- a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml
+++ b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml
@@ -56,7 +56,7 @@ Rectangle {
// item visible.
//
// The second ListView sets a highlight range which attempts to keep the
- // current item within the the bounds of the range. However,
+ // current item within the bounds of the range. However,
// items will not scroll beyond the beginning or end of the view,
// forcing the highlight to move outside the range at the ends.
//
diff --git a/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml b/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml
index f8d3df79..ba495241 100644
--- a/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml
+++ b/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml
@@ -72,7 +72,7 @@ Rectangle {
}
}
- // Define a highlight with customised movement between items.
+ // Define a highlight with customized movement between items.
Component {
id: highlightBar
Rectangle {
diff --git a/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml b/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml
index 1935a6ff..aca2f6c9 100644
--- a/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml
+++ b/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml
@@ -56,7 +56,7 @@ Rectangle {
// item visible.
//
// The second ListView sets a highlight range which attempts to keep the
- // current item within the the bounds of the range. However,
+ // current item within the bounds of the range. However,
// items will not scroll beyond the beginning or end of the view,
// forcing the highlight to move outside the range at the ends.
//
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp
index 64ae2094..3042dc14 100644
--- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp
@@ -1331,7 +1331,7 @@ void QDeclarativeFlickable::setBoundsBehavior(BoundsBehavior b)
\snippet doc/src/snippets/declarative/flickable.qml document
- In some cases, the the content dimensions can be automatically set
+ In some cases, the content dimensions can be automatically set
using the \l {Item::childrenRect.width}{childrenRect.width}
and \l {Item::childrenRect.height}{childrenRect.height} properties.
*/
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index aebf912b..41b56a6a 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -782,7 +782,7 @@ QObject *QDeclarativeComponent::create(QDeclarativeContext *context)
When QDeclarativeComponent constructs an instance, it occurs in three steps:
\list 1
\li The object hierarchy is created, and constant values are assigned.
- \li Property bindings are evaluated for the the first time.
+ \li Property bindings are evaluated for the first time.
\li If applicable, QDeclarativeParserStatus::componentComplete() is called on objects.
\endlist
QDeclarativeComponent::beginCreate() differs from QDeclarativeComponent::create() in that it
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index 612931b2..c67ea236 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -1942,7 +1942,7 @@ void QDeclarativeEnginePrivate::sendQuit()
static void dumpwarning(const QDeclarativeError &error)
{
- qWarning().nospace() << qPrintable(error.toString());
+ qWarning("%s", error.toString().toUtf8().constData());
}
static void dumpwarning(const QList<QDeclarativeError> &errors)
diff --git a/src/declarative/qml/qdeclarativeerror.cpp b/src/declarative/qml/qdeclarativeerror.cpp
index 9a25943a..64d43d70 100644
--- a/src/declarative/qml/qdeclarativeerror.cpp
+++ b/src/declarative/qml/qdeclarativeerror.cpp
@@ -240,7 +240,7 @@ QString QDeclarativeError::toString() const
QDebug operator<<(QDebug debug, const QDeclarativeError &error)
{
- debug << qPrintable(error.toString());
+ debug << error.toString().toUtf8().constData();
QUrl url = error.url();
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp
index a72df77a..9f0c73ac 100644
--- a/src/declarative/util/qdeclarativeanimation.cpp
+++ b/src/declarative/util/qdeclarativeanimation.cpp
@@ -791,7 +791,7 @@ void QDeclarativeScriptAction::setScript(const QDeclarativeScriptString &script)
/*!
\qmlproperty string ScriptAction::scriptName
- This property holds the the name of the StateChangeScript to run.
+ This property holds the name of the StateChangeScript to run.
This property is only valid when ScriptAction is used as part of a transition.
If both script and scriptName are set, scriptName will be used.
diff --git a/src/doc/src/declarative/example-slideswitch.qdoc b/src/doc/src/declarative/example-slideswitch.qdoc
index b294a83a..9d115e1f 100644
--- a/src/doc/src/declarative/example-slideswitch.qdoc
+++ b/src/doc/src/declarative/example-slideswitch.qdoc
@@ -53,7 +53,7 @@ The elements that compose the switch are:
\snippet examples/declarative/ui-components/slideswitch/content/Switch.qml 1
This property is the interface of the switch. By default, the switch is off and this property is \c false.
-It can be used to activate/disactivate the switch or to query its current state.
+It can be used to activate/deactivate the switch or to query its current state.
In this example:
diff --git a/src/doc/src/declarative/qdeclarativemodels.qdoc b/src/doc/src/declarative/qdeclarativemodels.qdoc
index 138aa3aa..a566ca88 100644
--- a/src/doc/src/declarative/qdeclarativemodels.qdoc
+++ b/src/doc/src/declarative/qdeclarativemodels.qdoc
@@ -269,7 +269,7 @@ with models of type QAbstractItemModel:
\list
\li \e hasModelChildren role property to determine whether a node has child nodes.
-\li \l VisualDataModel::rootIndex allows the root node to be specifed
+\li \l VisualDataModel::rootIndex allows the root node to be specified
\li \l VisualDataModel::modelIndex() returns a QModelIndex which can be assigned to VisualDataModel::rootIndex
\li \l VisualDataModel::parentModelIndex() returns a QModelIndex which can be assigned to VisualDataModel::rootIndex
\endlist
diff --git a/src/doc/src/declarative/righttoleft.qdoc b/src/doc/src/declarative/righttoleft.qdoc
index 9374fa6c..604cae8d 100644
--- a/src/doc/src/declarative/righttoleft.qdoc
+++ b/src/doc/src/declarative/righttoleft.qdoc
@@ -60,7 +60,7 @@ aligned to the right side of the text area. The alignment of a text element with
its alignment cue from \l QApplication::keyboardInputDirection(), which is based on the active
system locale.
-This default locale-based alignment can be overriden by setting the \c horizontalAlignment
+This default locale-based alignment can be overridden by setting the \c horizontalAlignment
property for the text element, or by enabling layout mirroring using the \l LayoutMirroring attached
property, which causes any explicit left and right horizontal alignments to be mirrored.
Note that when \l LayoutMirroring is set, the \c horizontalAlignment property value remains unchanged;
diff --git a/src/imports/shaders/shadereffectsource.cpp b/src/imports/shaders/shadereffectsource.cpp
index b5462c71..f58b5464 100644
--- a/src/imports/shaders/shadereffectsource.cpp
+++ b/src/imports/shaders/shadereffectsource.cpp
@@ -285,8 +285,7 @@ void ShaderEffectSource::bind()
GLuint vwrap = (m_wrapMode == Repeat || m_wrapMode == RepeatVertically) ? GL_REPEAT : GL_CLAMP_TO_EDGE;
#if !defined(QT_OPENGL_ES_2)
- if (!QOpenGLFunctions::isES())
- glEnable(GL_TEXTURE_2D);
+ glEnable(GL_TEXTURE_2D);
#endif
if (m_fbo && m_fbo->isValid()) {
diff --git a/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp b/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp
index 28674873..865d74b6 100644
--- a/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp
+++ b/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp
@@ -145,7 +145,7 @@ void QmlApplicationViewer::addImportPath(const QString &path)
void QmlApplicationViewer::setOrientation(ScreenOrientation orientation)
{
- // TODO: Needs a Qt5 implmentation
+ // TODO: Needs a Qt5 implementation
Q_UNUSED(orientation)
}
diff --git a/tests/auto/declarative/qdeclarativeqt/data/darker.qml b/tests/auto/declarative/qdeclarativeqt/data/darker.qml
index d2ef866d..cbd129dd 100644
--- a/tests/auto/declarative/qdeclarativeqt/data/darker.qml
+++ b/tests/auto/declarative/qdeclarativeqt/data/darker.qml
@@ -5,7 +5,7 @@ QtObject {
property variant test2: Qt.darker()
property variant test3: Qt.darker(Qt.rgba(1, 0.8, 0.3), 2.8)
property variant test4: Qt.darker("red");
- property variant test5: Qt.darker("perfectred"); // Non-existant color
+ property variant test5: Qt.darker("perfectred"); // Non-existent color
property variant test6: Qt.darker(10);
property variant test7: Qt.darker(Qt.rgba(1, 0.8, 0.3), 2.8, 10)
}
diff --git a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml
index 67f0d0f3..34f6b273 100644
--- a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml
+++ b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml
@@ -5,7 +5,7 @@ QtObject {
property variant test2: Qt.lighter()
property variant test3: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8)
property variant test4: Qt.lighter("red");
- property variant test5: Qt.lighter("perfectred"); // Non-existant color
+ property variant test5: Qt.lighter("perfectred"); // Non-existent color
property variant test6: Qt.lighter(10);
property variant test7: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8, 5)
}
diff --git a/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml b/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml
index 3641ca50..bcb1979e 100644
--- a/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml
+++ b/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml
@@ -101,7 +101,7 @@ Rectangle {
Text {
id: label
anchors.centerIn: parent
- text: effect.vertexShader == effect.defaultVertexShader ? "Effect (display shoud be green)" : "Effect (display shoud be red)"
+ text: effect.vertexShader == effect.defaultVertexShader ? "Effect (display should be green)" : "Effect (display should be red)"
color: "white"
font.bold: true
}