Commit 06ca7e5d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove unneeded include and parent objects

parent aac93fa6
......@@ -792,7 +792,7 @@ void VLCMenuBar::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf,
bool b_normal )
{
QAction *action;
QMenu *rateMenu = new QMenu( qtr( "Sp&eed" ) );
QMenu *rateMenu = new QMenu( qtr( "Sp&eed" ), menu );
rateMenu->setTearOffEnabled( true );
if( b_normal )
......@@ -971,7 +971,7 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
POPUP_BOILERPLATE
/* */
menu = new QMenu( );
menu = new QMenu();
QAction *action;
bool b_isFullscreen = false;
MainInterface *mi = p_intf->p_sys->p_mi;
......
......@@ -28,7 +28,6 @@
#include "qt4.hpp"
#include <QObject>
#include <QAction>
#include <QMenu>
#include <QVector>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment