X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fretracer.cpp;h=251028ce5ab316066dcfd8baac94a6376a91eb5b;hb=ab347b0a2d3d70a4524494cf14130cf3ed10947e;hp=500d859aa3f6d73011acc0bbaabd38a58ed19287;hpb=8216d8efc428dd336957433d743af5c4ac2d0d05;p=apitrace diff --git a/gui/retracer.cpp b/gui/retracer.cpp index 500d859..251028c 100644 --- a/gui/retracer.cpp +++ b/gui/retracer.cpp @@ -100,8 +100,8 @@ void Retracer::run() this, SIGNAL(error(const QString&))); connect(retrace, SIGNAL(foundState(ApiTraceState*)), this, SIGNAL(foundState(ApiTraceState*))); - connect(retrace, SIGNAL(retraceErrors(const QList&)), - this, SIGNAL(retraceErrors(const QList&))); + connect(retrace, SIGNAL(retraceErrors(const QList&)), + this, SIGNAL(retraceErrors(const QList&))); retrace->start(); @@ -163,11 +163,11 @@ void RetraceProcess::replayFinished() } QStringList errorLines = errStr.split('\n'); - QList errors; + QList errors; QRegExp regexp("(^\\d+): +(\\b\\w+\\b): (.+$)"); foreach(QString line, errorLines) { if (regexp.indexIn(line) != -1) { - RetraceError error; + ApiTraceError error; error.callIndex = regexp.cap(1).toInt(); error.type = regexp.cap(2); error.message = regexp.cap(3); @@ -190,14 +190,14 @@ void RetraceProcess::replayError(QProcess::ProcessError err) tr("Couldn't execute the replay file '%1'").arg(m_fileName)); } -Q_DECLARE_METATYPE(QList); +Q_DECLARE_METATYPE(QList); RetraceProcess::RetraceProcess(QObject *parent) : QObject(parent) { m_process = new QProcess(this); m_jsonParser = new QJson::Parser(); - qRegisterMetaType >(); + qRegisterMetaType >(); connect(m_process, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(replayFinished()));