Improve detection of parent layout
parentWidget()->layout() is not always the parent layout as parentWidget() can in some cases be a few level up in the widget tree.
parent
487fca2f
Please register or sign in to comment
parentWidget()->layout() is not always the parent layout as parentWidget() can in some cases be a few level up in the widget tree.