summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
Diffstat (limited to 'qmake')
-rw-r--r--qmake/project.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index f6a45204f8..feff736480 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1815,7 +1815,7 @@ void calculateDeps(QStringList &sortedList, const QString &item, const QString &
}
if (org.contains(item)) {
- sortedList += item;
+ sortedList.prepend(item);
org.removeAll(item);
}
}