1
0
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:
Uwe L. Korn
2014-09-10 22:35:52 +01:00
parent 1b65cf3f00
commit 3deef2bb10

View File

@@ -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 );