mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 01:24:11 +02:00
typo in Qt5 syntax in Infosystem/TomahawkCache
This commit is contained in:
@@ -47,7 +47,7 @@ InfoSystemCache::InfoSystemCache( QObject* parent )
|
|||||||
#if QT_VERSION <= QT_VERSION_CHECK( 5, 0, 0 )
|
#if QT_VERSION <= QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
TomahawkUtils::removeDirectory( m_cacheBaseDir );
|
TomahawkUtils::removeDirectory( m_cacheBaseDir );
|
||||||
#else
|
#else
|
||||||
QDir(m_cacheBaseDir)::removeRecursively();
|
QDir(m_cacheBaseDir).removeRecursively();
|
||||||
#endif
|
#endif
|
||||||
TomahawkSettings::instance()->setInfoSystemCacheVersion( INFOSYSTEM_CACHE_VERSION );
|
TomahawkSettings::instance()->setInfoSystemCacheVersion( INFOSYSTEM_CACHE_VERSION );
|
||||||
}
|
}
|
||||||
|
@@ -50,7 +50,7 @@ Cache::Cache()
|
|||||||
#if QT_VERSION <= QT_VERSION_CHECK( 5, 0, 0 )
|
#if QT_VERSION <= QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
TomahawkUtils::removeDirectory( m_cacheBaseDir );
|
TomahawkUtils::removeDirectory( m_cacheBaseDir );
|
||||||
#else
|
#else
|
||||||
QDir( m_cacheBaseDir )::removeRecursively();
|
QDir( m_cacheBaseDir ).removeRecursively();
|
||||||
#endif
|
#endif
|
||||||
TomahawkSettings::instance()->setGenericCacheVersion( CACHE_VERSION );
|
TomahawkSettings::instance()->setGenericCacheVersion( CACHE_VERSION );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user