"Close All Projects" also closes all editors, adjust title to that

Task-number: QTCREATORBUG-6991

Change-Id: I817c2e16ae131bc30f3b6cf00f7afeeb53e0a159
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Daniel Teske
2012-04-18 12:32:19 +02:00
parent cfb9c26c30
commit fd547e4c5b

View File

@@ -644,7 +644,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT);
// unload session action
d->m_closeAllProjects = new QAction(tr("Close All Projects"), this);
d->m_closeAllProjects = new QAction(tr("Close All Projects and Editors"), this);
cmd = am->registerAction(d->m_closeAllProjects, Constants::CLEARSESSION, globalcontext);
mfile->addAction(cmd, Core::Constants::G_FILE_PROJECT);
msessionContextMenu->addAction(cmd, Constants::G_SESSION_FILES);