From 6a55d1780919e748dfb493bdaa9e8b5b893d9089 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 24 Mar 2012 08:03:14 +0000 Subject: [PATCH 1/1] Capture thumbnails only after the trace finished loading. --- gui/mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 7be98e2..5a90241 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -202,9 +202,6 @@ void MainWindow::newTraceFile(const QString &fileName) setWindowTitle( tr("QApiTrace - %1").arg(info.fileName())); } - - // force initial capture of thumbnails - replayTrace(false, true); } void MainWindow::replayFinished(const QString &output) @@ -265,6 +262,9 @@ void MainWindow::finishedLoadingTrace() m_trace->findCallIndex(m_initalCallNum); m_initalCallNum = -1; } + + // force initial capture of thumbnails + replayTrace(false, true); } void MainWindow::replayTrace(bool dumpState, bool dumpThumbnails) -- 2.43.0