summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/sessionmodel.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-05-13 11:47:38 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-05-13 12:48:04 +0000
commit2c5d6de9b4cdd8fda1a0c9245a389e13d56d638f (patch)
tree6f4107178eddf36e3d47cdd488b99a5e81f430cb /src/plugins/projectexplorer/sessionmodel.h
parent689fac8fe9cc245a957db78d4ff8d8f12515f687 (diff)
downloadqt-creator-2c5d6de9b4cdd8fda1a0c9245a389e13d56d638f.tar.gz
ProjectExplorer: Ensure that the session model stays sorted
Fixes: QTCREATORBUG-23996 Change-Id: I96c8c1b780f5b56cb064146de3de6a4c90f9147a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/sessionmodel.h')
-rw-r--r--src/plugins/projectexplorer/sessionmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/sessionmodel.h b/src/plugins/projectexplorer/sessionmodel.h
index a4c09132f8..d95102590c 100644
--- a/src/plugins/projectexplorer/sessionmodel.h
+++ b/src/plugins/projectexplorer/sessionmodel.h
@@ -81,6 +81,8 @@ private:
void runSessionNameInputDialog(ProjectExplorer::Internal::SessionNameInputDialog *sessionInputDialog, std::function<void(const QString &)> createSession);
QStringList m_sortedSessions;
+ int m_currentSortColumn = 0;
+ Qt::SortOrder m_currentSortOrder = Qt::AscendingOrder;
};
} // namespace Internal