Commit 1fca4149 authored by Christiaan Janssen's avatar Christiaan Janssen

QmlProfiler: cleaning events pane when stopping from server

Change-Id: I0e215b16d1a07124579a8ae593c13c8571d24ab8
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 585e6513
...@@ -454,6 +454,7 @@ QWidget *QmlProfilerTool::createWidgets() ...@@ -454,6 +454,7 @@ QWidget *QmlProfilerTool::createWidgets()
d->m_traceWindow = new TraceWindow(mw); d->m_traceWindow = new TraceWindow(mw);
d->m_traceWindow->reset(d->m_client); d->m_traceWindow->reset(d->m_client);
connect(d->m_traceWindow, SIGNAL(clearViewsFromTool()), this, SLOT(clearDisplay()));
connect(d->m_traceWindow, SIGNAL(gotoSourceLocation(QString,int,int)),this, SLOT(gotoSourceLocation(QString,int,int))); connect(d->m_traceWindow, SIGNAL(gotoSourceLocation(QString,int,int)),this, SLOT(gotoSourceLocation(QString,int,int)));
connect(d->m_traceWindow, SIGNAL(contextMenuRequested(QPoint)), this, SLOT(showContextMenu(QPoint))); connect(d->m_traceWindow, SIGNAL(contextMenuRequested(QPoint)), this, SLOT(showContextMenu(QPoint)));
connect(d->m_traceWindow->getEventList(), SIGNAL(error(QString)), this, SLOT(showErrorDialog(QString))); connect(d->m_traceWindow->getEventList(), SIGNAL(error(QString)), this, SLOT(showErrorDialog(QString)));
......
...@@ -626,7 +626,7 @@ void TraceWindow::eventListStateChanged() ...@@ -626,7 +626,7 @@ void TraceWindow::eventListStateChanged()
void TraceWindow::manageTraceStart(qint64 traceStart) void TraceWindow::manageTraceStart(qint64 traceStart)
{ {
// new trace started // new trace started
clearDisplay(); emit clearViewsFromTool();
emit traceStarted(traceStart); emit traceStarted(traceStart);
} }
......
...@@ -148,6 +148,7 @@ signals: ...@@ -148,6 +148,7 @@ signals:
void recordingChanged(bool); void recordingChanged(bool);
void internalClearDisplay(); void internalClearDisplay();
void clearViewsFromTool();
void jumpToPrev(); void jumpToPrev();
void jumpToNext(); void jumpToNext();
void rangeModeChanged(bool); void rangeModeChanged(bool);
......
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