forked from qt-creator/qt-creator
Nim: Remove superfluous lambda on Utils::sort call
Change-Id: I401136a57e88736796397314d7e2d07e30fca4eb Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
e90fb40678
commit
f2dd427f3d
@@ -144,7 +144,7 @@ void NimProject::updateProject()
|
||||
m_files = transform<QList>(fileNodes, [](const std::unique_ptr<FileNode> &fn) {
|
||||
return fn->filePath().toString();
|
||||
});
|
||||
Utils::sort(m_files, [](const QString &a, const QString &b) { return a < b; });
|
||||
Utils::sort(m_files);
|
||||
|
||||
if (oldFiles == m_files)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user