Commit 7db21278 authored by Vincent Pinon's avatar Vincent Pinon

Fix slideshow clips on Windows

parent d1495235
Pipeline #3783 passed with stage
in 19 minutes and 24 seconds
......@@ -377,8 +377,8 @@ QString SlideshowClip::selectedPath(const QUrl &url, bool isMime, QString extens
QString folder;
if (isMime) {
folder = url.toLocalFile();
if (!folder.endsWith(QDir::separator())) {
folder.append(QDir::separator());
if (!folder.endsWith(QLatin1Char('/'))) {
folder.append(QLatin1Char('/'));
}
// Check how many files we have
QDir dir(folder);
......
Markdown is supported
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