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