Commit 3707b91f authored by Frerich Raabe's avatar Frerich Raabe

- Proper post-3.1 check

svn path=/trunk/kdemultimedia/juk/; revision=214497
parent 259d68c9
......@@ -11,7 +11,7 @@
#include <kapplication.h>
#include <kconfig.h>
#include <kdeversion.h>
#if KDE_VERSION > KDE_MAKE_VERSION(3,1,0)
#if KDE_IS_VERSION(3,1,90)
# include <kmacroexpander.h>
#endif
......@@ -104,7 +104,7 @@ QString FileNameScheme::composeRegExp(const QString &s) const
QString regExp = QRegExp::escape(s.simplifyWhiteSpace());
regExp = ".*" + regExp;
regExp.replace(' ', "\\s+");
#if KDE_VERSION > KDE_MAKE_VERSION(3,1,0)
#if KDE_IS_VERSION(3,1,90)
KMacroExpander::expandMacros(regExp, substitutions);
#else
QMap<QChar, QString>::ConstIterator it = substitutions.begin();
......
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