Qt: remove a suspicious delete
commit887f3e70707509145fa7e2c81a88ecce74c95f54
authorErwan Tulou <erwan10@videolan.org>
Fri, 18 Jul 2014 10:38:36 +0000 (18 12:38 +0200)
committerErwan Tulou <erwan10@videolan.org>
Fri, 18 Jul 2014 10:58:52 +0000 (18 12:58 +0200)
tree8384295c36578de82d399c8aa5a97ddfdcc436da
parent2ba05d1ff03661caa55e943d32fcb492b395ecf2
Qt: remove a suspicious delete

in Qt doc about QMainWindow, about statusBar() and setStatusBar(), it reads :
"Note that QMainWindow takes ownership of the statusbar pointer
and deletes it at the appropriate time."
So, trying to delete the pointer returned by statusBar() can but
end up in a double free at some point.
modules/gui/qt4/main_interface.cpp