Commit c7d5e31a authored by Michael Pyne's avatar Michael Pyne

Fix bug 70699, where the Need Value test for the Track wasn't correct in the

file renamer dialog box.

Thiago, thanks for the patch, but I think that was for a different bug. :-)

svn path=/trunk/kdemultimedia/juk/; revision=318109
parent 16084608
......@@ -144,6 +144,9 @@ QString FileRenamer::expandToken(TokenType type, const QString &value_) const
value.replace(QDir::separator(), "");
if((type == Track) && needValue && (value.toUInt() == 0))
return QString();
if((needValue) && value.isEmpty())
return QString();
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