forked from qt-creator/qt-creator
Reinvent deprecated qSort as Utils::sort
Change-Id: I4f6011cc2b6127037249aabc2426a88ad7108ebf Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <projectexplorer/target.h>
|
||||
#include <qtsupport/qtkitinformation.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/detailswidget.h>
|
||||
|
||||
using namespace QmakeProjectManager;
|
||||
@@ -248,7 +249,7 @@ void QmakeProjectConfigWidget::updateProblemLabel()
|
||||
buildDirectory = m_buildConfiguration->buildDirectory().toString();
|
||||
QList<ProjectExplorer::Task> issues;
|
||||
issues = version->reportIssues(proFileName, buildDirectory);
|
||||
qSort(issues);
|
||||
Utils::sort(issues);
|
||||
|
||||
if (!issues.isEmpty() || !shadowBuildWarning.isEmpty()) {
|
||||
QString text = QLatin1String("<nobr>") + shadowBuildWarning;
|
||||
|
||||
Reference in New Issue
Block a user