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 ...@@ -187,8 +187,8 @@ bool PluginTreeItem::operator< ( const QTreeWidgetItem & other ) const
} }
/* Extensions tab */ /* Extensions tab */
ExtensionTab::ExtensionTab( intf_thread_t *p_intf ) ExtensionTab::ExtensionTab( intf_thread_t *p_intf_ )
: QVLCFrame( p_intf ) : QVLCFrame( p_intf_ )
{ {
// Layout // Layout
QVBoxLayout *layout = new QVBoxLayout( this ); QVBoxLayout *layout = new QVBoxLayout( this );
...@@ -491,8 +491,7 @@ QSize ExtensionItemDelegate::sizeHint( const QStyleOptionViewItem &option, ...@@ -491,8 +491,7 @@ QSize ExtensionItemDelegate::sizeHint( const QStyleOptionViewItem &option,
ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension, ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
intf_thread_t *p_intf, intf_thread_t *p_intf,
QWidget *parent ) QWidget *parent )
: QVLCDialog( parent, p_intf ), : QVLCDialog( parent, p_intf )
extension( new ExtensionCopy( extension ) )
{ {
// Let's be a modal dialog // Let's be a modal dialog
setWindowModality( Qt::WindowModal ); setWindowModality( Qt::WindowModal );
...@@ -576,11 +575,6 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension, ...@@ -576,11 +575,6 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension,
setMinimumSize( 450, 350 ); setMinimumSize( 450, 350 );
} }
ExtensionInfoDialog::~ExtensionInfoDialog()
{
delete extension;
}
static QPixmap *loadPixmapFromData( char *data, int size ) static QPixmap *loadPixmapFromData( char *data, int size )
{ {
if( !data || size <= 0 ) if( !data || size <= 0 )
......
...@@ -163,10 +163,6 @@ class ExtensionInfoDialog : public QVLCDialog ...@@ -163,10 +163,6 @@ class ExtensionInfoDialog : public QVLCDialog
public: public:
ExtensionInfoDialog( const ExtensionCopy& extension, ExtensionInfoDialog( const ExtensionCopy& extension,
intf_thread_t *p_intf, QWidget *parent ); intf_thread_t *p_intf, QWidget *parent );
virtual ~ExtensionInfoDialog();
private:
ExtensionCopy *extension;
}; };
#endif #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