Commit ea52eae0 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

Qt: extensioninfo dialog: remove unused member

(cherry picked from commit 8290233b46cd5e4edcd83d6a5795cda6814f06a7)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 92b735eb
......@@ -187,8 +187,8 @@ bool PluginTreeItem::operator< ( const QTreeWidgetItem & other ) const
}
/* Extensions tab */
ExtensionTab::ExtensionTab( intf_thread_t *p_intf )
: QVLCFrame( p_intf )
ExtensionTab::ExtensionTab( intf_thread_t *p_intf_ )
: QVLCFrame( p_intf_ )
{
// Layout
QVBoxLayout *layout = new QVBoxLayout( this );
......@@ -489,8 +489,7 @@ QSize ExtensionItemDelegate::sizeHint( const QStyleOptionViewItem &option,
ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
intf_thread_t *p_intf,
QWidget *parent )
: QVLCDialog( parent, p_intf ),
extension( new ExtensionCopy( extension ) )
: QVLCDialog( parent, p_intf )
{
// Let's be a modal dialog
setWindowModality( Qt::WindowModal );
......@@ -578,11 +577,6 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
setMinimumSize( 450, 350 );
}
ExtensionInfoDialog::~ExtensionInfoDialog()
{
delete extension;
}
static QPixmap *loadPixmapFromData( char *data, int size )
{
if( !data || size <= 0 )
......
......@@ -162,10 +162,6 @@ class ExtensionInfoDialog : public QVLCDialog
public:
ExtensionInfoDialog( const ExtensionCopy& extension,
intf_thread_t *p_intf, QWidget *parent );
virtual ~ExtensionInfoDialog();
private:
ExtensionCopy *extension;
};
#endif
......
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