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 8290233b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 92b735eb
...@@ -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 );
...@@ -489,8 +489,7 @@ QSize ExtensionItemDelegate::sizeHint( const QStyleOptionViewItem &option, ...@@ -489,8 +489,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 );
...@@ -578,11 +577,6 @@ ExtensionInfoDialog::ExtensionInfoDialog( const ExtensionCopy& extension, ...@@ -578,11 +577,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 )
......
...@@ -162,10 +162,6 @@ class ExtensionInfoDialog : public QVLCDialog ...@@ -162,10 +162,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