Commit a0556706 authored by Laurent Montel's avatar Laurent Montel
Browse files

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()) {
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