From 1274fa1f799db688b7acdfac216c54cd3dc277f3 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 30 Apr 2018 13:08:25 +0200 Subject: Document the default value of ComboBox's currentIndex property Change-Id: I60dbf84127c800a5f0590ae46c4be3ece7ca3141 Reviewed-by: J-P Nurmi --- src/quicktemplates2/qquickcombobox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/quicktemplates2/qquickcombobox.cpp b/src/quicktemplates2/qquickcombobox.cpp index 4d5efece..c61ea9ed 100644 --- a/src/quicktemplates2/qquickcombobox.cpp +++ b/src/quicktemplates2/qquickcombobox.cpp @@ -900,6 +900,8 @@ int QQuickComboBox::highlightedIndex() const This property holds the index of the current item in the combo box. + The default value is \c -1 when \l count is \c 0, and \c 0 otherwise. + \sa activated(), currentText, highlightedIndex */ int QQuickComboBox::currentIndex() const -- cgit v1.2.3