mirror of
https://invent.kde.org/multimedia/kdenlive
synced 2025-12-06 00:09:59 +01:00
Fix compilation (type error)
This commit is contained in:
@@ -704,7 +704,7 @@ bool ProjectItemModel::loadFolders(Mlt::Properties &folders)
|
||||
if (upLinks.count(f.first) == 0) {
|
||||
upLinks[f.first] = -1;
|
||||
}
|
||||
if (f.first != QStringLiteral("-1") && downLinks.count(upLinks[f.first]) == 0) {
|
||||
if (f.first != -1 && downLinks.count(upLinks[f.first]) == 0) {
|
||||
qDebug() << "Warning: parent folder " << upLinks[f.first] << "for folder" << f.first << "is invalid. Folder will be placed in topmost directory.";
|
||||
upLinks[f.first] = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user