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-25 19:52:38 (GMT)
commit2329c36a9e69bc602b1805c450007dae9a5134bb (patch)
tree10e643080ee10bf9568f4d924955bb72b8cefefb
parentfa2ae0d12d387b79d74fe426a124d87bbf960e76 (diff)
Don't mangle filename string when saving the file during import or ripping. Refs #9483
(cherry picked from commit d581cefad528a193197c4660cf7e1922ead8b7d7)
-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 72f1d33..d6f522c 100644
--- a/mythplugins/mythmusic/mythmusic/cdrip.cpp
+++ b/mythplugins/mythmusic/mythmusic/cdrip.cpp
@@ -945,8 +945,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++)
{