diff options
| author | Nikita Baryshnikov <[email protected]> | 2014-06-16 18:25:52 +0400 |
|---|---|---|
| committer | hjk <[email protected]> | 2014-06-19 14:00:32 +0200 |
| commit | 12103e0f676f762658310b885f8d427cdd755a18 (patch) | |
| tree | 1f6ea995e86e0895fee3776e84fe75ffd717c881 /src/plugins/git/commitdata.cpp | |
| parent | eefd0f43320bccfeecf162bf398b50ccad7e90dc (diff) | |
Reinvent deprecated qSort as Utils::sort
Change-Id: I4f6011cc2b6127037249aabc2426a88ad7108ebf
Reviewed-by: Orgad Shaneh <[email protected]>
Reviewed-by: Daniel Teske <[email protected]>
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
| -rw-r--r-- | src/plugins/git/commitdata.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp index 0ac0c5d1dec..73878e5f83c 100644 --- a/src/plugins/git/commitdata.cpp +++ b/src/plugins/git/commitdata.cpp @@ -28,6 +28,7 @@ ****************************************************************************/ #include "commitdata.h" +#include <utils/algorithm.h> #include <utils/qtcassert.h> #include <QCoreApplication> @@ -166,7 +167,7 @@ bool CommitData::checkLine(const QString &stateInfo, const QString &file) files.append(qMakePair(yState, newFile)); } } - qSort(files); + Utils::sort(files); return true; } |
