mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-19 04:11:46 +02:00
Use ScopedPointer to automatically delete Private
This commit is contained in:
@@ -29,8 +29,8 @@ using namespace Tomahawk;
|
||||
|
||||
|
||||
PlaylistEntry::PlaylistEntry()
|
||||
: d_ptr( new PlaylistEntryPrivate( this ) )
|
||||
{
|
||||
d_ptr = new PlaylistEntryPrivate( this );
|
||||
}
|
||||
|
||||
|
||||
|
@@ -84,7 +84,7 @@ private slots:
|
||||
|
||||
private:
|
||||
Q_DECLARE_PRIVATE( PlaylistEntry )
|
||||
PlaylistEntryPrivate* d_ptr;
|
||||
QScopedPointer<PlaylistEntryPrivate> d_ptr;
|
||||
|
||||
QString hintFromQuery() const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user