debugger: remove the "expert start modes"

This reverts most of 12f7a439d. It was a bad idea.

Task-number: QTCREATORBUG-6752
Change-Id: I048749a9dc888f36045f641de8fd2a1e3ae5d979
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-07 17:18:52 +01:00
parent 73fdc207ce
commit 4f891e9901
4 changed files with 7 additions and 28 deletions

View File

@@ -669,13 +669,6 @@ public slots:
m_returnWindow->header()->resizeSection(section, newSize);
}
void setExpertMode(bool on)
{
m_startLocalProcessAction->setVisible(on);
m_attachToRemoteServerAction->setVisible(on);
m_startRemoteProcessAction->setVisible(on);
m_startRemoteServerAction->setVisible(on);
}
void sourceFilesDockToggled(bool on)
{
@@ -3146,6 +3139,13 @@ void DebuggerPluginPrivate::extensionsInitialized()
cmd->setAttribute(Command::CA_Hide);
mstart->addAction(cmd, Debugger::Constants::G_START_LOCAL);
// FIXME: The following actions should some be less
// visible in the start menu, but still be "there".
// m_startLocalProcessAction->setVisible(on);
// m_attachToRemoteServerAction->setVisible(on);
// m_startRemoteProcessAction->setVisible(on);
// m_startRemoteServerAction->setVisible(on);
cmd = am->registerAction(m_attachToCoreAction,
"Debugger.AttachCore", globalcontext);
cmd->setAttribute(Command::CA_Hide);
@@ -3460,10 +3460,6 @@ void DebuggerPluginPrivate::extensionsInitialized()
m_watchersWindow->setVisible(false);
m_returnWindow->setVisible(false);
connect(action(ProvideMoreStartModes), SIGNAL(toggled(bool)),
SLOT(setExpertMode(bool)));
setExpertMode(boolSetting(ProvideMoreStartModes));
// time gdb -i mi -ex 'b debuggerplugin.cpp:800' -ex r -ex q bin/qtcreator.bin
if (!m_scheduledStarts.isEmpty())
QTimer::singleShot(0, this, SLOT(runScheduled()));