Commit 914a2070 authored by Scott Wheeler's avatar Scott Wheeler

We don't want the "full" extension -- i.e. don't choke on file names with

a period in them prior to the extension.

svn path=/trunk/kdemultimedia/juk/; revision=249259
parent 92363a78
......@@ -212,7 +212,7 @@ QString FileRenamer::rename(const QString &filename, const Tag &tag) const
if(QFileInfo(newFilename).isRelative())
newFilename = filename.left( filename.findRev( "/" ) )
+ "/" + newFilename;
newFilename += "." + QFileInfo(filename).extension();
newFilename += "." + QFileInfo(filename).extension(false);
return newFilename;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment