1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

Use ScopedPointer to automatically delete Private

This commit is contained in:
Uwe L. Korn 2013-07-02 15:49:50 +02:00
parent ff1a9d9064
commit 5861001e2d
2 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ using namespace Tomahawk;
PlaylistEntry::PlaylistEntry()
: d_ptr( new PlaylistEntryPrivate( this ) )
{
d_ptr = new PlaylistEntryPrivate( this );
}

View File

@ -84,7 +84,7 @@ private slots:
private:
Q_DECLARE_PRIVATE( PlaylistEntry )
PlaylistEntryPrivate* d_ptr;
QScopedPointer<PlaylistEntryPrivate> d_ptr;
QString hintFromQuery() const;
};