Commit fa7d1da6 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix possible test crash

parent 7a11f526
......@@ -1624,7 +1624,7 @@ const QString ProjectClip::getAudioThumbPath(int stream)
return QString();
bool ok = false;
QDir thumbFolder = pCore->currentDoc()->getCacheDir(CacheAudio, &ok);
QDir thumbFolder = pCore->projectManager()->cacheDir(true, &ok);
if (!ok) {
return QString();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment