Author: kmachalkova Date: Thu Jan 15 19:10:56 2009 New Revision: 54669 URL: http://svn.opensuse.org/viewcvs/yast?rev=54669&view=rev Log: stepsEnabled() func. is redundant, as every main wizard is also steps-enabled Modified: trunk/qt/src/YQWizard.cc trunk/qt/src/YQWizard.h Modified: trunk/qt/src/YQWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQWizard.cc?rev=54669&r1=54668&r2=54669&view=diff ============================================================================== --- trunk/qt/src/YQWizard.cc (original) +++ trunk/qt/src/YQWizard.cc Thu Jan 15 19:10:56 2009 @@ -103,7 +103,7 @@ setWidgetRep( this ); //either main wizard with `opt(`stepsEnabled), or sub-wizard of steps-enabled wizard - _stepsEnabled = (wizardMode == YWizardMode_Steps) || (main_wizard && main_wizard->stepsEnabled()); + _stepsEnabled = ( (wizardMode == YWizardMode_Steps) || main_wizard ); _treeEnabled = (wizardMode == YWizardMode_Tree); _stepsRegistered = false; Modified: trunk/qt/src/YQWizard.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQWizard.h?rev=54669&r1=54668&r2=54669&view=diff ============================================================================== --- trunk/qt/src/YQWizard.h (original) +++ trunk/qt/src/YQWizard.h Thu Jan 15 19:10:56 2009 @@ -151,13 +151,6 @@ // /** - * Is this wizard steps-enabled, i.e. does it have reserved - * space for steps panel? - * - **/ - bool stepsEnabled() { return _stepsEnabled; } - - /** * Add a step for the steps panel on the side bar. * This only adds the step to the internal list of steps. * The display is only updated upon calling updateSteps(). -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org