forked from qt-creator/qt-creator
QmlProfiler: fixed connection reset when new application starts
Reviewed-by: Kai Koehne
This commit is contained in:
@@ -333,7 +333,8 @@ void TraceWindow::clearDisplay()
|
||||
|
||||
void TraceWindow::setRecording(bool recording)
|
||||
{
|
||||
m_plugin.data()->setRecording(recording);
|
||||
if (m_plugin)
|
||||
m_plugin.data()->setRecording(recording);
|
||||
}
|
||||
|
||||
bool TraceWindow::isRecording() const
|
||||
|
||||
Reference in New Issue
Block a user