Author: sh-sh-sh Date: Wed Jul 16 16:58:48 2008 New Revision: 49188 URL: http://svn.opensuse.org/viewcvs/yast?rev=49188&view=rev Log: less agressive requirement - normal YItem is good enough Modified: trunk/qt/src/YQMenuButton.cc Modified: trunk/qt/src/YQMenuButton.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQMenuButton.cc?rev=49188&... ============================================================================== --- trunk/qt/src/YQMenuButton.cc (original) +++ trunk/qt/src/YQMenuButton.cc Wed Jul 16 16:58:48 2008 @@ -96,9 +96,7 @@ { for ( YItemIterator it = begin; it != end; ++it ) { - YMenuItem * item = dynamic_cast<YMenuItem *> (*it); - YUI_CHECK_PTR( item ); - + YItem * item = *it; QPixmap icon; if ( item->hasIconName() ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org