aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/fileops
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/fileops')
-rw-r--r--src/plugins/General/fileops/fileops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/fileops/fileops.cpp b/src/plugins/General/fileops/fileops.cpp
index 1cfe6e6d9..1bea2038a 100644
--- a/src/plugins/General/fileops/fileops.cpp
+++ b/src/plugins/General/fileops/fileops.cpp
@@ -175,7 +175,7 @@ void FileOps::execAction(int n)
destination = QFileInfo(item->url()).absolutePath ();
if (file.rename(destination + "/" + fname))
{
- item->setMetaData(Qmmp::URL, destination + "/" + fname);
+ item->insert(Qmmp::URL, destination + "/" + fname);
model->doCurrentVisibleRequest();
}
else