1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-15 13:32:35 +02:00

Delete d_ptr automatically

This commit is contained in:
Uwe L. Korn 2014-06-30 17:32:08 +01:00
parent dd0672ae82
commit bffc41c5a3
2 changed files with 1 additions and 2 deletions

View File

@ -87,7 +87,6 @@ JSResolver::~JSResolver()
stop();
delete d->engine;
delete d_ptr;
}

View File

@ -101,7 +101,7 @@ private:
const QVariantList& reslist );
Q_DECLARE_PRIVATE( JSResolver )
JSResolverPrivate* d_ptr;
QScopedPointer<JSResolverPrivate> d_ptr;
};