Commit 77773360 authored by Frerich Raabe's avatar Frerich Raabe

- Don't ignore KMacroExpander's hard work. It sucks that the compiler does not

  whine about ignoring a function's return value. I somehow assumed
  the regExp would get passed as "QString &".

svn path=/trunk/kdemultimedia/juk/; revision=216915
parent 37af7e9c
......@@ -108,7 +108,7 @@ QString FileNameScheme::composeRegExp(const QString &s) const
regExp = ".*" + regExp;
regExp.replace(' ', "\\s+");
#if KDE_IS_VERSION(3,1,90)
KMacroExpander::expandMacros(regExp, substitutions);
regExp = KMacroExpander::expandMacros(regExp, substitutions);
QMap<QChar, QString>::ConstIterator it = substitutions.begin();
QMap<QChar, QString>::ConstIterator end = substitutions.end();
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