Commit a0556706 authored by Laurent Montel's avatar Laurent Montel 😁

Fix error, we don't need to create new local variable.

parent 84f218ed
......@@ -917,7 +917,7 @@ void Bin::slotDuplicateClip()
if (currentName.isEmpty()) {
QUrl url = QUrl::fromLocalFile(EffectsList::property(xml, "resource"));
if (url.isValid()) {
QString currentName = url.fileName();
currentName = url.fileName();
}
}
if (!currentName.isEmpty()) {
......
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