From 0a0fd7120a3dc9ce228b475048911ccd67ffd209 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 5 Jun 2007 05:17:36 +0000 Subject: [PATCH] To remove duplicated code --- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index 4f90b86e..1c18ca34 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -838,15 +838,6 @@ void SetupDlg::onPreferencesDlg() return; } - if(!aData.myNbFrames || !aData.myPrs[0]){ - QApplication::restoreOverrideCursor(); - SUIT_MessageBox::warn1(this, - tr("ERROR"), - VisuGUI_TimeAnimationDlg::tr("MSG_NO_ANIMATIONDATA"), - tr("&OK")); - return; - } - int aType = myComboId2TypeId[myTypeCombo->currentItem()]; switch (aType) { case TSCALARMAP_ITEM: //Scalar Map -- 2.39.2