From a0925af7d1007d5ca42e20c9dc18df348fdf9518 Mon Sep 17 00:00:00 2001 From: con Date: Fri, 8 Apr 2011 09:20:14 +0200 Subject: [PATCH] Fix startup crash on Mac Introduced by f023b1ddbd3ee9ccb04b6b1263df565e18db5246 Reviewed-by: Kai Koehne --- src/plugins/debugger/debuggerplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 6a90228c4c4..70bed1ce2cf 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2774,10 +2774,12 @@ void DebuggerPluginPrivate::extensionsInitialized() cmd->setAttribute(Command::CA_Hide); mstart->addAction(cmd, CC::G_DEFAULT_ONE); +#ifdef WITH_LLDB cmd = am->registerAction(m_startRemoteLldbAction, Constants::STARTREMOTELLDB, globalcontext); cmd->setAttribute(Command::CA_Hide); mstart->addAction(cmd, CC::G_DEFAULT_ONE); +#endif if (m_startRemoteCdbAction) { cmd = am->registerAction(m_startRemoteCdbAction,