aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/fileops/fileops.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-06-27 18:51:13 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-06-27 18:51:13 +0000
commit237e829460dd7289ef54a4d8d38a9d378466a3ad (patch)
tree2be76acd88ef56c36fd60ab29798982eb7706b99 /src/plugins/General/fileops/fileops.cpp
parente6a6ada9a43922cc8efc803d17668a097a04eb28 (diff)
downloadqmmp-237e829460dd7289ef54a4d8d38a9d378466a3ad.tar.gz
qmmp-237e829460dd7289ef54a4d8d38a9d378466a3ad.tar.bz2
qmmp-237e829460dd7289ef54a4d8d38a9d378466a3ad.zip
fixed fileops plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@982 90c681e8-e032-0410-971d-27865f9a5e38
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);