aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-04-23 11:23:55 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-04-23 11:23:55 +0200
commitec707b03c62efa8e50aa17f84d2f8d175269c96d (patch)
tree96acf927d7ee5c7464f91a7d8fde6862990b9ed3
parenta42144610b1e268e82c0aa972e957fd24ac4cc6a (diff)
parent65f57369cf847da4e5a6924f7ad348466da070df (diff)
Merge 5.15 into 5.15.0
-rw-r--r--src/qml/qml/qqmlplatform.cpp4
-rw-r--r--src/quick/items/qquickanimatedimage.cpp7
-rw-r--r--src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp2
-rw-r--r--src/quick/util/qquickimageprovider.cpp10
4 files changed, 11 insertions, 12 deletions
diff --git a/src/qml/qml/qqmlplatform.cpp b/src/qml/qml/qqmlplatform.cpp
index c1ad5c0886..dcd7ca2d46 100644
--- a/src/qml/qml/qqmlplatform.cpp
+++ b/src/qml/qml/qqmlplatform.cpp
@@ -74,10 +74,10 @@ QString QQmlPlatform::os()
return QStringLiteral("linux");
#elif defined(Q_OS_QNX)
return QStringLiteral("qnx");
-#elif defined(Q_OS_UNIX)
- return QStringLiteral("unix");
#elif defined(Q_OS_WASM)
return QStringLiteral("wasm");
+#elif defined(Q_OS_UNIX)
+ return QStringLiteral("unix");
#else
return QStringLiteral("unknown");
#endif
diff --git a/src/quick/items/qquickanimatedimage.cpp b/src/quick/items/qquickanimatedimage.cpp
index 192ed289e2..eb3385c8f8 100644
--- a/src/quick/items/qquickanimatedimage.cpp
+++ b/src/quick/items/qquickanimatedimage.cpp
@@ -129,10 +129,9 @@ QQuickPixmap* QQuickAnimatedImagePrivate::infoForCurrentFrame(QQmlEngine *engine
This property holds the URL that refers to the source image.
- AnimatedImage can handle any image format supported by Qt, loaded from any
- URL scheme supported by Qt.
-
- \sa QQuickImageProvider
+ AnimatedImage can handle any image format supported by Qt, loaded
+ from any URL scheme supported by Qt. It is however not compatible
+ with QQuickImageProvider.
*/
QQuickAnimatedImage::QQuickAnimatedImage(QQuickItem *parent)
diff --git a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
index e94dd502fc..ce3c4aac4f 100644
--- a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
+++ b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
@@ -2341,7 +2341,7 @@ void Renderer::uploadBatch(Batch *b)
iDump << " -- Index Data, count:" << b->indexCount;
for (int i=0; i<b->indexCount; ++i) {
if ((i % 24) == 0)
- iDump << endl << " --- ";
+ iDump << Qt::endl << " --- ";
iDump << id[i];
}
}
diff --git a/src/quick/util/qquickimageprovider.cpp b/src/quick/util/qquickimageprovider.cpp
index 80873e2ad5..b885f0406a 100644
--- a/src/quick/util/qquickimageprovider.cpp
+++ b/src/quick/util/qquickimageprovider.cpp
@@ -301,7 +301,7 @@ void QQuickImageResponse::cancel()
Image providers that support QImage or Texture loading automatically include support
for asychronous loading of images. To enable asynchronous loading for an
image source, set the \c asynchronous property to \c true for the relevant
- \l Image, \l BorderImage or \l AnimatedImage object. When this is enabled,
+ \l Image or \l BorderImage object. When this is enabled,
the image request to the provider is run in a low priority thread,
allowing image loading to be executed in the background, and reducing the
performance impact on the user interface.
@@ -330,10 +330,10 @@ void QQuickImageResponse::cancel()
Images returned by a QQuickImageProvider are automatically cached,
similar to any image loaded by the QML engine. When an image with a
"image://" prefix is loaded from cache, requestImage() and requestPixmap()
- will not be called for the relevant image provider. If an image should always
- be fetched from the image provider, and should not be cached at all, set the
- \c cache property to \c false for the relevant \l Image, \l BorderImage or
- \l AnimatedImage object.
+ will not be called for the relevant image provider. If an image should
+ always be fetched from the image provider, and should not be cached at
+ all, set the \c cache property to \c false for the relevant \l Image
+ or \l BorderImage object.
\sa QQmlEngine::addImageProvider()
*/