diff widgets/ProgressDialog.cpp @ 379:036b75ddcd3f

...
author Chris Cannam
date Fri, 14 Mar 2008 17:24:42 +0000
parents 22b72f0f6a4e
children 33b7f5e54d60
line wrap: on
line diff
--- a/widgets/ProgressDialog.cpp	Fri Mar 14 17:14:21 2008 +0000
+++ b/widgets/ProgressDialog.cpp	Fri Mar 14 17:24:42 2008 +0000
@@ -59,8 +59,6 @@
 ProgressDialog::showTimerElapsed()
 {
     m_timerElapsed = true;
-    delete m_showTimer;
-    m_showTimer = 0;
     if (m_dialog->value() > 0) {
         m_dialog->show();
     }
@@ -75,8 +73,6 @@
         m_dialog->setValue(percentage);
 
         if (percentage >= 100) {
-            delete m_showTimer;
-            m_showTimer = 0;
             m_dialog->hide();
         } else if (m_timerElapsed && !m_dialog->isVisible()) {
             m_dialog->show();