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:
parent
dd0672ae82
commit
bffc41c5a3
@ -87,7 +87,6 @@ JSResolver::~JSResolver()
|
||||
stop();
|
||||
|
||||
delete d->engine;
|
||||
delete d_ptr;
|
||||
}
|
||||
|
||||
|
||||
|
@ -101,7 +101,7 @@ private:
|
||||
const QVariantList& reslist );
|
||||
|
||||
Q_DECLARE_PRIVATE( JSResolver )
|
||||
JSResolverPrivate* d_ptr;
|
||||
QScopedPointer<JSResolverPrivate> d_ptr;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user