From d7226d1d11a549975e0b7564a0a8d64a328fc895 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 28 May 2011 11:13:01 +0100 Subject: [PATCH] Remove the empty default state message box. The answer is not remembered across multiple qapitrace processes, and reading the default state is so fast that it's not even really worth asking. --- gui/mainwindow.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 9d8748d..183ba40 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -927,17 +927,6 @@ void MainWindow::fillState(bool nonDefaults) m_ui.nonDefaultsCB->blockSignals(true); m_ui.nonDefaultsCB->setChecked(false); m_ui.nonDefaultsCB->blockSignals(false); - int ret = QMessageBox::question( - this, tr("Empty Default State"), - tr("The applcation needs to figure out the " - "default state for the current trace. " - "This only has to be done once and " - "afterwards you will be able to enable " - "displaying of non default state for all calls." - "\nDo you want to lookup the default state now?"), - QMessageBox::Yes | QMessageBox::No); - if (ret != QMessageBox::Yes) - return; ApiTraceFrame *firstFrame = m_trace->frameAt(0); ApiTraceEvent *oldSelected = m_selectedEvent; -- 2.43.0