diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-06-27 18:51:13 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-06-27 18:51:13 +0000 |
| commit | 237e829460dd7289ef54a4d8d38a9d378466a3ad (patch) | |
| tree | 2be76acd88ef56c36fd60ab29798982eb7706b99 /src/plugins/General/fileops/fileops.cpp | |
| parent | e6a6ada9a43922cc8efc803d17668a097a04eb28 (diff) | |
| download | qmmp-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.cpp | 1 |
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); |
