summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2011-01-15 14:59:43 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2011-01-15 14:59:43 (GMT)
commitd581cefad528a193197c4660cf7e1922ead8b7d7 (patch)
tree923d5b2da9e922833c48adbe9fc554a57f5a6240
parent327eb5fd021f053d366e0b926650fdc920c7f560 (diff)
Don't mangle filename string when saving the file during import or ripping. Refs #9483
-rw-r--r--mythplugins/mythmusic/mythmusic/cdrip.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/mythplugins/mythmusic/mythmusic/cdrip.cpp b/mythplugins/mythmusic/mythmusic/cdrip.cpp
index 919bbce..795a10b 100644
--- a/mythplugins/mythmusic/mythmusic/cdrip.cpp
+++ b/mythplugins/mythmusic/mythmusic/cdrip.cpp
@@ -939,8 +939,6 @@ QString Ripper::filenameFromMetadata(Metadata *track, bool createDir)
VERBOSE(VB_GENERAL, QString("Invalid file storage definition."));
}
- filename = QString(filename.toLocal8Bit().constData());
-
QStringList directoryList = filename.split("/");
for (int i = 0; i < (directoryList.size() - 1); i++)
{