diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2014-02-20 09:24:22 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-20 15:25:29 (GMT) |
commit | eefff4ac4b6915485d6362536fe0907820a68982 (patch) | |
tree | b09796f8c861b4b999315606207947ddbda04435 /src/3rdparty | |
parent | 8dc37368441d13f41f029b4191ce734a9758d2c8 (diff) | |
download | Qt-eefff4ac4b6915485d6362536fe0907820a68982.zip Qt-eefff4ac4b6915485d6362536fe0907820a68982.tar.gz Qt-eefff4ac4b6915485d6362536fe0907820a68982.tar.bz2 |
Webbrowser example: Fix crash due to deprecated code.
The example uses a Qt Designer form with widgets on a QToolBar
imported from Qt 3 which is not supported in Qt 4 and later.
In the code generated by uic, a QLabel is constructed passing
the toolbar as parent and added to the toolbar using
QToolBar::addWidget() which then causes a crash in Qt 4.
Move the widgets from the form into the class to avoid this.
Task-number: QTBUG-36948
Change-Id: Ia4af871ce99faf555bebc6ebde19bcae0de4d29e
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
(cherry picked from qtactiveqt/2e44efa5056355ac2c069ad2bd8a8ba6562f3eb6)
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions