[yast-commit] r39382 - /branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc
Author: gs Date: Fri Jul 13 08:33:05 2007 New Revision: 39382 URL: http://svn.opensuse.org/viewcvs/yast?rev=39382&view=rev Log: remove obsolete setSize() Modified: branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc?rev=39382&r1=39381&r2=39382&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc Fri Jul 13 08:33:05 2007 @@ -434,12 +434,7 @@ const string & label ) { ONCREATE; - NCPushButton * button = new NCPushButton( parent, label ); - if ( button ) - { - button->setSize( button->preferredWidth(), button->preferredHeight() ); - } - return button; + return new NCPushButton( parent, label ); } YWidget * YNCursesUI::createMenuButton( YWidget * parent, YWidgetOpt & opt, -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org