summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qsplitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qsplitter.cpp')
-rw-r--r--src/widgets/widgets/qsplitter.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/widgets/widgets/qsplitter.cpp b/src/widgets/widgets/qsplitter.cpp
index ded0336c9c..9e38c8f18a 100644
--- a/src/widgets/widgets/qsplitter.cpp
+++ b/src/widgets/widgets/qsplitter.cpp
@@ -1231,9 +1231,9 @@ QSplitterHandle *QSplitter::createHandle()
}
/*!
- Returns the handle to the left (or above) for the item in the
- splitter's layout at the given \a index. The handle at index 0 is
- always hidden.
+ Returns the handle to the left of (or above) the item in the
+ splitter's layout at the given \a index, or \c nullptr if there is no such item.
+ The handle at index 0 is always hidden.
For right-to-left languages such as Arabic and Hebrew, the layout
of horizontal splitters is reversed. The handle will be to the
@@ -1250,7 +1250,8 @@ QSplitterHandle *QSplitter::handle(int index) const
}
/*!
- Returns the widget at the given \a index in the splitter's layout.
+ Returns the widget at the given \a index in the splitter's layout,
+ or \c nullptr if there is no such widget.
\sa count(), handle(), indexOf(), insertWidget()
*/