aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/fileops/fileops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/fileops/fileops.cpp')
-rw-r--r--src/plugins/General/fileops/fileops.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/General/fileops/fileops.cpp b/src/plugins/General/fileops/fileops.cpp
index 692033db2..e67f7ae30 100644
--- a/src/plugins/General/fileops/fileops.cpp
+++ b/src/plugins/General/fileops/fileops.cpp
@@ -159,6 +159,7 @@ void FileOps::execAction(int n)
fname += ext;
//rename file
QFile file(item->url());
+ destination = QFileInfo(item->url()).absolutePath ();
if (file.rename(destination + "/" + fname))
{
item->setMetaData(Qmmp::URL, destination + "/" + fname);