Fix error in sample code on the Layout Management page.
authorMitch Curtis <mitch.curtis@nokia.com>
Tue, 24 Jul 2012 13:59:17 +0000 (15:59 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jul 2012 22:58:20 +0000 (00:58 +0200)
commit958e4e6bec1905f59dbac392dc48203a0a770558
treef62e98a6f73197ddce9b97720d0849bbf6894dd2
parent044645ead61de0797945505b9ab8a2d061c9f814
Fix error in sample code on the Layout Management page.

Incorrect return type in a sample class (CardLayout) function.
Although the function is never called, the return type should be int,
not QLayoutItem*.

Task-number: QTBUG-25602
Change-Id: I05ebd07a35b6db62b8c12255186f9d9487da79f6
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
src/widgets/doc/snippets/code/doc_src_layout.cpp