forked from qt-creator/qt-creator
QmlProfiler: fix double-load problem caused by 25d351fa
Change-Id: Ib60cb122188e286c596e0595e38bf2814db6d487 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -761,7 +761,7 @@ void QmlProfilerTool::showLoadDialog()
|
|||||||
|
|
||||||
if (!filename.isEmpty()) {
|
if (!filename.isEmpty()) {
|
||||||
// delayed load (prevent graphical artifacts due to long load time)
|
// delayed load (prevent graphical artifacts due to long load time)
|
||||||
d->m_traceWindow->getEventList()->load(filename);
|
d->m_traceWindow->getEventList()->setFilename(filename);
|
||||||
QTimer::singleShot(100, d->m_traceWindow->getEventList(), SLOT(load()));
|
QTimer::singleShot(100, d->m_traceWindow->getEventList(), SLOT(load()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user