[vlc-commits] Qt: add a bunch of virtual for destructors
Jean-Baptiste Kempf
git at videolan.org
Sun May 18 13:13:29 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 18 12:42:12 2014 +0200| [dff2e609d06ad475b84c4ca9a4b3ca2268c4a39f] | committer: Jean-Baptiste Kempf
Qt: add a bunch of virtual for destructors
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dff2e609d06ad475b84c4ca9a4b3ca2268c4a39f
---
modules/gui/qt4/adapters/variables.hpp | 2 +-
modules/gui/qt4/components/epg/EPGView.hpp | 2 +-
modules/gui/qt4/components/playlist/playlist_model.hpp | 2 +-
modules/gui/qt4/dialogs/external.hpp | 2 +-
modules/gui/qt4/dialogs/fingerprintdialog.hpp | 2 +-
modules/gui/qt4/managers/addons_manager.hpp | 4 ++--
modules/gui/qt4/util/input_slider.hpp | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/modules/gui/qt4/adapters/variables.hpp b/modules/gui/qt4/adapters/variables.hpp
index dd511d9..04f286c 100644
--- a/modules/gui/qt4/adapters/variables.hpp
+++ b/modules/gui/qt4/adapters/variables.hpp
@@ -40,7 +40,7 @@ private:
public:
QVLCVariable (vlc_object_t *, const char *, int, bool);
- ~QVLCVariable (void);
+ virtual ~QVLCVariable (void);
};
class QVLCPointer : public QVLCVariable
diff --git a/modules/gui/qt4/components/epg/EPGView.hpp b/modules/gui/qt4/components/epg/EPGView.hpp
index 03d6a75..222deb6 100644
--- a/modules/gui/qt4/components/epg/EPGView.hpp
+++ b/modules/gui/qt4/components/epg/EPGView.hpp
@@ -53,7 +53,7 @@ Q_OBJECT
public:
explicit EPGView( QWidget *parent = 0 );
- ~EPGView();
+ virtual ~EPGView();
void setScale( double scaleFactor );
diff --git a/modules/gui/qt4/components/playlist/playlist_model.hpp b/modules/gui/qt4/components/playlist/playlist_model.hpp
index 70af799..3739c63 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.hpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.hpp
@@ -172,7 +172,7 @@ class PlMimeData : public QMimeData
public:
PlMimeData() {}
- ~PlMimeData();
+ virtual ~PlMimeData();
void appendItem( input_item_t *p_item );
QList<input_item_t*> inputItems() const;
QStringList formats () const;
diff --git a/modules/gui/qt4/dialogs/external.hpp b/modules/gui/qt4/dialogs/external.hpp
index 60c08f1..99fe60f 100644
--- a/modules/gui/qt4/dialogs/external.hpp
+++ b/modules/gui/qt4/dialogs/external.hpp
@@ -40,7 +40,7 @@ class DialogHandler : public QObject
public:
DialogHandler (intf_thread_t *, QObject *parent);
- ~DialogHandler (void);
+ virtual ~DialogHandler (void);
private:
intf_thread_t *intf;
diff --git a/modules/gui/qt4/dialogs/fingerprintdialog.hpp b/modules/gui/qt4/dialogs/fingerprintdialog.hpp
index d4bd070..1e594cb 100644
--- a/modules/gui/qt4/dialogs/fingerprintdialog.hpp
+++ b/modules/gui/qt4/dialogs/fingerprintdialog.hpp
@@ -43,7 +43,7 @@ class FingerprintDialog : public QDialog
public:
FingerprintDialog( QWidget *parent, intf_thread_t *p_intf,
input_item_t *p_item );
- ~FingerprintDialog();
+ virtual ~FingerprintDialog();
private:
Ui::FingerprintDialog *ui;
diff --git a/modules/gui/qt4/managers/addons_manager.hpp b/modules/gui/qt4/managers/addons_manager.hpp
index 9a1ddc1..85e6521 100644
--- a/modules/gui/qt4/managers/addons_manager.hpp
+++ b/modules/gui/qt4/managers/addons_manager.hpp
@@ -47,7 +47,7 @@ public:
{
addon_entry_Hold( p_entry );
}
- ~AddonManagerEvent()
+ virtual ~AddonManagerEvent()
{
addon_entry_Release( p_entry );
}
@@ -65,7 +65,7 @@ class AddonsManager : public QObject, public Singleton<AddonsManager>
public:
AddonsManager( intf_thread_t * );
- ~AddonsManager();
+ virtual ~AddonsManager();
static void addonsEventsCallback( const vlc_event_t *, void * );
void customEvent( QEvent * );
void install( QByteArray id );
diff --git a/modules/gui/qt4/util/input_slider.hpp b/modules/gui/qt4/util/input_slider.hpp
index c8e48fe..4b76966 100644
--- a/modules/gui/qt4/util/input_slider.hpp
+++ b/modules/gui/qt4/util/input_slider.hpp
@@ -56,7 +56,7 @@ class SeekSlider : public QSlider
Q_PROPERTY(qreal handleOpacity READ handleOpacity WRITE setHandleOpacity)
public:
SeekSlider( Qt::Orientation q, QWidget *_parent = 0, bool _classic = false );
- ~SeekSlider();
+ virtual ~SeekSlider();
void setChapters( SeekPoints * );
protected:
More information about the vlc-commits
mailing list