mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 09:34:53 +02:00
Use Q_D instead of d_func
This commit is contained in:
@@ -212,13 +212,15 @@ AudioEngine::~AudioEngine()
|
|||||||
QStringList
|
QStringList
|
||||||
AudioEngine::supportedMimeTypes() const
|
AudioEngine::supportedMimeTypes() const
|
||||||
{
|
{
|
||||||
if ( d_func()->supportedMimeTypes.isEmpty() )
|
Q_D( const AudioEngine );
|
||||||
|
|
||||||
|
if ( d->supportedMimeTypes.isEmpty() )
|
||||||
{
|
{
|
||||||
d_func()->supportedMimeTypes << "audio/*";
|
d->supportedMimeTypes << "audio/*";
|
||||||
d_func()->supportedMimeTypes << "audio/basic";
|
d->supportedMimeTypes << "audio/basic";
|
||||||
}
|
}
|
||||||
|
|
||||||
return d_func()->supportedMimeTypes;
|
return d->supportedMimeTypes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user