Author: sh-sh-sh Date: Mon Feb 11 19:07:01 2008 New Revision: 44333 URL: http://svn.opensuse.org/viewcvs/yast?rev=44333&view=rev Log: useless use of YCPString (why not use std::string if it is converted in every single use case?) Modified: trunk/ncurses/src/pkg/NCPkgPopupTree.cc Modified: trunk/ncurses/src/pkg/NCPkgPopupTree.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/pkg/NCPkgPopupTree.cc?rev=44333&r1=44332&r2=44333&view=diff ============================================================================== --- trunk/ncurses/src/pkg/NCPkgPopupTree.cc (original) +++ trunk/ncurses/src/pkg/NCPkgPopupTree.cc Mon Feb 11 19:07:01 2008 @@ -116,8 +116,6 @@ // the vertical split is the (only) child of the dialog NCLayoutBox * split = new NCLayoutBox( this, YD_VERT ); - // addChild() is obsolete - // create the tree filterTree = new NCTree( split, label ); YUI_CHECK_NEW( filterTree ); @@ -168,7 +166,7 @@ string label = origItem->value().translation(); // fill the package list - packager->fillPackageList( YCPString( label ), origItem ); + packager->fillPackageList( label, origItem ); NCMIL << "Selected RPM group: " << label << endl; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org