mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 20:57:52 +02:00
Fix Qt5 removeDirectory code
This commit is contained in:
@@ -532,7 +532,7 @@ bool
|
|||||||
removeDirectory( const QString& dir )
|
removeDirectory( const QString& dir )
|
||||||
{
|
{
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
|
#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
return QDir aDir( dir ).removeRecursively();
|
return QDir( dir ).removeRecursively();
|
||||||
#else
|
#else
|
||||||
const QDir aDir( dir );
|
const QDir aDir( dir );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user