aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorWang Zichong <wangzichong@uniontech.com>2024-05-10 15:11:45 +0800
committerShawn Rutledge <shawn.rutledge@qt.io>2024-05-11 07:51:51 +0000
commita5ad1d8855f8243adddf0fffcd84e14d32a5ca90 (patch)
tree6f0c38002d7075f6774aca3132184c8714a1443c /src/quick
parent828b823938395d4d43f9b7a1b7f53f10a4a6b99b (diff)
Documentation: fix incorrect type for Drag::imageSourceSize
Drag::imageSourceSize's type is size instead of QUrl. Amends 0290e0fd5285cd48809ade02ce2e67a423ba3152 Change-Id: Id4c0e337fddd6ba366feb44ccfa636bdb8e010af Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/items/qquickdrag.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickdrag.cpp b/src/quick/items/qquickdrag.cpp
index dbe443b2b3..47064ad433 100644
--- a/src/quick/items/qquickdrag.cpp
+++ b/src/quick/items/qquickdrag.cpp
@@ -362,7 +362,7 @@ void QQuickDragAttached::setImageSource(const QUrl &url)
}
/*!
- \qmlattachedproperty QUrl QtQuick::Drag::imageSourceSize
+ \qmlattachedproperty size QtQuick::Drag::imageSourceSize
\since 6.8
This property holds the size of the image that will be used to represent