*/
void Retracer::run()
{
- QString msg;
+ QString msg = QLatin1String("Replay finished!");
/*
* Construct command line
} else if (m_api == trace::API_EGL) {
prog = QLatin1String("eglretrace");
} else {
- Q_ASSERT(0);
+ emit finished(QLatin1String("Unsupported API"));
return;
}
} else {
QByteArray output;
output = process.readAllStandardOutput();
- msg = QString::fromUtf8(output);
+ if (output.length() < 80) {
+ msg = QString::fromUtf8(output);
+ }
}
}