Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3670b1a4
Commit
3670b1a4
authored
Mar 11, 2009
by
Oswald Buddenhagen
Browse files
remove qt < 4.5 #ifdefs
parent
027b52a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/designer/formeditorplugin.cpp
View file @
3670b1a4
...
...
@@ -38,9 +38,6 @@
#endif
#include
"designerconstants.h"
#if QT_VERSION < 0x040500
# include "settings.h"
#endif
#include
<coreplugin/icore.h>
#include
<coreplugin/mimedatabase.h>
...
...
src/shared/proparser/profileevaluator.cpp
View file @
3670b1a4
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment