aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-10-24 20:28:04 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-10-25 07:20:28 +0000
commit6ba40b132562593781ceffc13f642d366d6ad672 (patch)
treea3ec0fd9fce061ac31f83ca1911b1d0cff755307 /src/imports/controls
parent79434ba17df404e9046fba8feadd7bbb7c14f6b9 (diff)
Doc: fix SwipeDelegate detailed description
The latest 5.7->5.8 merge messed up the detailed description of SwipeDelegate. In 5.7, the snippet was moved from the bottom to the top, but after the merge both were there. Also, the qdoc marker ('1' vs. 'file') did no longer match what was in the snippet file: warning: Command '\snippet (//! [file])' failed at end of file 'qtquickcontrols2-swipedelegate.qml' Change-Id: I77411b737fe0b95e6096a89bd3199bacc2d1c2ae Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls')
-rw-r--r--src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml
index 36c96190..46b2809f 100644
--- a/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml
+++ b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml
@@ -28,7 +28,7 @@
import QtQuick 2.8
import QtQuick.Controls 2.1
-//! [file]
+//! [1]
ListView {
id: listView
anchors.fill: parent
@@ -79,4 +79,4 @@ ListView {
}
}
}
-//! [file]
+//! [1]