X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Ftraceprocess.cpp;h=6f4d0b9350da147249bbf1e522fd8c51d6de4384;hb=66ee52d87f1e740e3085dc481e2bd6a6dc41f279;hp=5961444cd6e1370974cc20b829f6b2157a471050;hpb=b491d2958e2a8331f0f144de89626c284ae96121;p=apitrace diff --git a/gui/traceprocess.cpp b/gui/traceprocess.cpp index 5961444..6f4d0b9 100644 --- a/gui/traceprocess.cpp +++ b/gui/traceprocess.cpp @@ -31,6 +31,11 @@ TraceProcess::~TraceProcess() { } +void TraceProcess::setApi(const QString &str) +{ + m_api = str; +} + void TraceProcess::setExecutablePath(const QString &str) { m_execPath = str; @@ -93,6 +98,8 @@ void TraceProcess::start() QStringList arguments; arguments << QLatin1String("trace"); + arguments << QLatin1String("--api"); + arguments << m_api; arguments << QLatin1String("--output"); arguments << m_tracePath; arguments << QLatin1String("--");