diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-04-30 13:08:25 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-05-02 08:44:21 +0000 |
commit | 1274fa1f799db688b7acdfac216c54cd3dc277f3 (patch) | |
tree | 817456b1642a38cb3fa5fb4de170744aaf63b34b /src/quicktemplates2/qquickcombobox.cpp | |
parent | bc93333958e469e2bd79319befb23328a9de38a9 (diff) |
Document the default value of ComboBox's currentIndex property
Change-Id: I60dbf84127c800a5f0590ae46c4be3ece7ca3141
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickcombobox.cpp')
-rw-r--r-- | src/quicktemplates2/qquickcombobox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |