diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2010-04-21 16:08:13 +0200 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2010-04-21 16:08:24 +0200 |
commit | ee8caa5b7c99a644ddbedbb670356e7bb98ceb25 (patch) | |
tree | f75f3bd4e0939ec9ef073b1ebe99f79e0b55f4a7 /src/plugins/projectexplorer/projectwelcomepagewidget.cpp | |
parent | 861981a39d8e295a9c166d3de0ac837d86897d5f (diff) | |
download | qt-creator-ee8caa5b7c99a644ddbedbb670356e7bb98ceb25.tar.gz |
Modify behaviour of sessions on the welcomescreen and tweak the session manager
- List sessions by recent use instead of alphabetically
- Tweak the session manager. It is now a persistent dialog with only a close button
- Implement session renaming in the session manager
- Cleanups
Task-Number: QTCREATORBUG-1168
Diffstat (limited to 'src/plugins/projectexplorer/projectwelcomepagewidget.cpp')
-rw-r--r-- | src/plugins/projectexplorer/projectwelcomepagewidget.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectwelcomepagewidget.cpp b/src/plugins/projectexplorer/projectwelcomepagewidget.cpp index a9feb8f2b2..f8112a868f 100644 --- a/src/plugins/projectexplorer/projectwelcomepagewidget.cpp +++ b/src/plugins/projectexplorer/projectwelcomepagewidget.cpp @@ -45,7 +45,12 @@ #include <QtCore/QDebug> #define MAX_RECENT_PROJECT_ITEMS 6 -#define MAX_RECENT_SESSION_ITEMS 10 + +#ifdef Q_OS_MAC +# define MAX_RECENT_SESSION_ITEMS 8 +#else +# define MAX_RECENT_SESSION_ITEMS 9 +#endif using namespace ProjectExplorer::Internal; |