diff --git a/src/libtomahawk/infosystem/InfoSystemCache.cpp b/src/libtomahawk/infosystem/InfoSystemCache.cpp index 106b84946..80873bb48 100644 --- a/src/libtomahawk/infosystem/InfoSystemCache.cpp +++ b/src/libtomahawk/infosystem/InfoSystemCache.cpp @@ -47,7 +47,7 @@ InfoSystemCache::InfoSystemCache( QObject* parent ) #if QT_VERSION <= QT_VERSION_CHECK( 5, 0, 0 ) TomahawkUtils::removeDirectory( m_cacheBaseDir ); #else - QDir(m_cacheBaseDir)::removeRecursively(); + QDir(m_cacheBaseDir).removeRecursively(); #endif TomahawkSettings::instance()->setInfoSystemCacheVersion( INFOSYSTEM_CACHE_VERSION ); } diff --git a/src/libtomahawk/utils/TomahawkCache.cpp b/src/libtomahawk/utils/TomahawkCache.cpp index b35f9df33..de252708f 100644 --- a/src/libtomahawk/utils/TomahawkCache.cpp +++ b/src/libtomahawk/utils/TomahawkCache.cpp @@ -50,7 +50,7 @@ Cache::Cache() #if QT_VERSION <= QT_VERSION_CHECK( 5, 0, 0 ) TomahawkUtils::removeDirectory( m_cacheBaseDir ); #else - QDir( m_cacheBaseDir )::removeRecursively(); + QDir( m_cacheBaseDir ).removeRecursively(); #endif TomahawkSettings::instance()->setGenericCacheVersion( CACHE_VERSION ); }