Commit 3670b1a4 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

remove qt < 4.5 #ifdefs

parent 027b52a2
......@@ -38,9 +38,6 @@
#endif
#include "designerconstants.h"
#if QT_VERSION < 0x040500
# include "settings.h"
#endif
#include <coreplugin/icore.h>
#include <coreplugin/mimedatabase.h>
......
......@@ -2310,17 +2310,10 @@ void evaluateProFile(const ProFileEvaluator &visitor, QHash<QByteArray, QStringL
+ visitor.values(QLatin1String("FORMS3"));
sourceFiles << forms;
#if QT_VERSION >= 0x040500
sourceFiles.sort();
sourceFiles.removeDuplicates();
tsFileNames.sort();
tsFileNames.removeDuplicates();
#else
sourceFiles = sourceFiles.toSet().toList();
sourceFiles.sort();
tsFileNames = tsFileNames.toSet().toList();
tsFileNames.sort();
#endif
varMap->insert("SOURCES", sourceFiles);
varMap->insert("CODECFORTR", QStringList() << codecForTr);
......
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