Commit aadc3804 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

BareMetal: Unviolate string freeze

Use a similar message from Core

Change-Id: Iccdcad0308cb7ac1b674522bce57124e3f0e9086
Reviewed-by: default avatarhjk <>
Reviewed-by: default avatarTim Sander <>
parent 1fe1c6d0
......@@ -47,6 +47,8 @@
#include <utils/portlist.h>
#include <utils/qtcassert.h>
#include <QApplication>
using namespace Analyzer;
using namespace Debugger;
using namespace ProjectExplorer;
......@@ -135,7 +137,9 @@ RunControl *BareMetalRunControlFactory::create(RunConfiguration *runConfiguratio
DebuggerStartParameters sp = startParameters(rc);
if (!QFile::exists(sp.executable)) {
*errorMessage = tr("Could not find executable");
*errorMessage = QApplication::translate("Core::Internal::ExecuteFilter",
"Could not find executable for \"%1\".")
return 0;
return DebuggerPlugin::createDebugger(sp,runConfiguration,errorMessage);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment