diff options
Diffstat (limited to 'src/widgets/widgets/qsplitter.cpp')
-rw-r--r-- | src/widgets/widgets/qsplitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/widgets/qsplitter.cpp b/src/widgets/widgets/qsplitter.cpp index e92347c65c..1676c188a6 100644 --- a/src/widgets/widgets/qsplitter.cpp +++ b/src/widgets/widgets/qsplitter.cpp @@ -1145,6 +1145,10 @@ void QSplitter::insertWidget(int index, QWidget *widget) \note The splitter takes ownership of \a widget and sets the parent of the replaced widget to null. + \note Because \a widget gets \l{QWidget::setParent()}{reparented} into the splitter, + its \l{QWidget::}{geometry} may not be set right away, but only after \a widget will + receive the appropriate events. + \sa insertWidget(), indexOf() */ QWidget *QSplitter::replaceWidget(int index, QWidget *widget) |