Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2b0e4f40 authored by Scott Wheeler's avatar Scott Wheeler

One more like that last one. This does a little better job of replacing

the zeros at the beginning of track numbers.

svn path=/trunk/kdemultimedia/juk/; revision=165498
parent 12732792
......@@ -60,9 +60,7 @@ Tag::Tag(QString file)
trackNumberString = temp;
delete [] temp;
QRegExp zeros("0+");
if(zeros.exactMatch(trackNumberString))
trackNumberString = QString::null;
trackNumberString.replace(QRegExp("^0+"), QString::null);
trackNumber = ID3_GetTrackNum(&tag);
......
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