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

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 ...@@ -377,8 +377,8 @@ QString SlideshowClip::selectedPath(const QUrl &url, bool isMime, QString extens
QString folder; QString folder;
if (isMime) { if (isMime) {
folder = url.toLocalFile(); folder = url.toLocalFile();
if (!folder.endsWith(QDir::separator())) { if (!folder.endsWith(QLatin1Char('/'))) {
folder.append(QDir::separator()); folder.append(QLatin1Char('/'));
} }
// Check how many files we have // Check how many files we have
QDir dir(folder); 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