Commit 0cb48a1e authored by Volker Krause's avatar Volker Krause
Browse files

Explicitly create QFileInfo from QString

Qt6 doesn't allows this implicitly anymore.
parent 74614801
......@@ -34,7 +34,7 @@ void ImageFinder::run()
for (i = 0; i < m_paths.size(); ++i) {
const QString &path = m_paths.at(i);
const QString target = findSymlinkTarget(path);
const QString target = findSymlinkTarget(QFileInfo(path));
const QFileInfo info(target);
if (!info.exists() || !filterCondition(info)) {
......
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