Under MSW, no preview images of the videos in the project are shown.
Like in my other bug report, I also include a fix for the bug:
The problem can be fixed with this line in Project.cpp:
QString sFilename = url.toString();
instead of
QString sFilename = url.path();
Whole function:
QImage Project::getImage(const QUrl& url, int nWidth, int nHeight, int iFrame, bool bSave)
{
Q_ASSERT(nWidth > 0);
Q_ASSERT(nHeight > 0);
Q_ASSERT(iFrame >= 0);
QString sDir = ".dvthumbnails";
QString sProjFilename = m_sFilename;
if (!sProjFilename.isEmpty()) {
QFileInfo fi = QFileInfo(m_sFilename);
if (!fi.baseName().isEmpty()) {
sDir = "." + fi.baseName() + ".thumbnails";
}
}
if (!QDir().exists(sDir)) {
QDir().mkdir(sDir);
}
QString sFilename = url.toString();
QString sKey = QString("%1;%2x%3;%4").arg(sFilename).arg(nWidth).arg(nHeight).arg(iFrame);
QString sCacheFile = sDir + "/" + sKey.replace('/', '_');
Logged In: YES
user_id=1146827
Originator: YES
The same problem is also visible in Clip.cpp
QString sFilename = filename().path();
should be
QString sFilename = filename().toString();
Whole function:
bool Clip::loadResource()
{
if (!m_loaded) {
QString sFilename = filename().toString();