diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2012-03-24 08:03:14 +0000 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2012-03-24 08:03:14 +0000 |
commit | 6a55d1780919e748dfb493bdaa9e8b5b893d9089 (patch) | |
tree | d61d8c5f4d435a23a398727c9a62d2295e24e8b1 /gui/mainwindow.cpp | |
parent | 2fa1bdedd9b609a72ef70c557b04e928bc000ad7 (diff) |
Capture thumbnails only after the trace finished loading.
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 7be98e21..5a90241f 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) |