Commit 8290233b authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: extensioninfo dialog: remove unused member

parent 474f8390
......@@ -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 );
......@@ -491,8 +491,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 );
......@@ -576,11 +575,6 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
setMinimumSize( 450, 350 );
}
ExtensionInfoDialog::~ExtensionInfoDialog()
{
delete extension;
}
static QPixmap *loadPixmapFromData( char *data, int size )
{
if( !data || size <= 0 )
......
......@@ -163,10 +163,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