diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2022-10-20 17:53:09 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2022-10-21 11:34:20 +0000 |
commit | d77a7167dbcde44ff719e6d7596d1a9bf3fd8df0 (patch) | |
tree | ce06e10c7e7a808ab903b8ff4bd3572753ed4693 /src/libs/3rdparty/cplusplus/Parser.cpp | |
parent | 07d30b8632fd73d2ff47f4e9e60c4935dbce4f5c (diff) | |
download | qt-creator-d77a7167dbcde44ff719e6d7596d1a9bf3fd8df0.tar.gz |
ProjectExplorer: Use LRU for sorting sessions in menu
Right now, upon start-up of Qt Creator, entries in the Sessions menu are
sorted in reverse order of the time the corresponding files were last
modified on disk, which often (but not always) corresponds to a "least
recently used" order. This order is unchanged during the lifetime of the
current instance of Qt Creator, and potentially changes again after the
next start.
As this can be confusing to users, we now ensure LRU sorting at all
times.
Task-number: QTCREATORBUG-28202
Change-Id: I758371ac1cb968dd3f2e4278fc5066d1e74397c6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Parser.cpp')
0 files changed, 0 insertions, 0 deletions