Commit 37af7e9c authored by Frerich Raabe's avatar Frerich Raabe

- Adapt to indentation

svn path=/trunk/kdemultimedia/juk/; revision=216911
parent 0a7758bc
......@@ -95,14 +95,14 @@ QString FileNameScheme::composeRegExp(const QString &s) const
KConfig *cfg = kapp->config();
{
KConfigGroupSaver(cfg, "TagGuesser");
KConfigGroupSaver(cfg, "TagGuesser");
substitutions[ 't' ] = cfg->readEntry("Title regexp", "([\\w\\s'&]+)");
substitutions[ 'a' ] = cfg->readEntry("Artist regexp", "([\\w\\s'&]+)");
substitutions[ 'A' ] = cfg->readEntry("Album regexp", "([\\w\\s'&]+)");
substitutions[ 'T' ] = cfg->readEntry("Track regexp", "(\\d+)");
substitutions[ 'c' ] = cfg->readEntry("Comment regexp", "([\\w\\s]+)");
}
substitutions[ 't' ] = cfg->readEntry("Title regexp", "([\\w\\s'&]+)");
substitutions[ 'a' ] = cfg->readEntry("Artist regexp", "([\\w\\s'&]+)");
substitutions[ 'A' ] = cfg->readEntry("Album regexp", "([\\w\\s'&]+)");
substitutions[ 'T' ] = cfg->readEntry("Track regexp", "(\\d+)");
substitutions[ 'c' ] = cfg->readEntry("Comment regexp", "([\\w\\s]+)");
}
QString regExp = QRegExp::escape(s.simplifyWhiteSpace());
regExp = ".*" + regExp;
......
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