MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / clearPluginsLoadedCache

Method clearPluginsLoadedCache

Engine/OfxHost.cpp:1117–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116
1117void
1118OfxHost::clearPluginsLoadedCache()
1119{
1120 QString oldOfxCache = getOldCacheFilePath();
1121
1122 if ( QFile::exists(oldOfxCache) ) {
1123 QFile::remove(oldOfxCache);
1124 }
1125#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
1126 QtCompat::removeRecursively( getOFXCacheDirPath() );
1127#else
1128 QDir OFXCacheDir( getOFXCacheDirPath() );
1129 OFXCacheDir.removeRecursively();
1130#endif
1131}
1132
1133void
1134OfxHost::loadingStatus(bool loading,

Callers 2

warnChangedKnobsMethod · 0.45
onKnobValueChangedMethod · 0.45

Calls 3

getOldCacheFilePathFunction · 0.85
removeRecursivelyFunction · 0.85
getOFXCacheDirPathFunction · 0.85

Tested by

no test coverage detected