mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
Explicitly call clear on the shared pointer in the playlistinterface destructor
This commit is contained in:
parent
8ffbebb2b6
commit
ce13d7fed5
@ -32,7 +32,7 @@ Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TrackProxyModel ( QObject* parent = 0 );
|
||||
|
||||
|
||||
virtual TrackModel* sourceModel() const { return m_model; }
|
||||
virtual void setSourceTrackModel( TrackModel* sourceModel );
|
||||
virtual void setSourceModel( QAbstractItemModel* model );
|
||||
|
@ -30,6 +30,7 @@ PlaylistInterface::PlaylistInterface ( QObject *parent )
|
||||
|
||||
PlaylistInterface::~PlaylistInterface()
|
||||
{
|
||||
m_sharedPtr.clear();
|
||||
}
|
||||
|
||||
result_ptr
|
||||
|
Loading…
x
Reference in New Issue
Block a user