Mailinglist Archive: yast-commit (1056 mails)
| < Previous | Next > |
[yast-commit] r44333 - /trunk/ncurses/src/pkg/NCPkgPopupTree.cc
- From: sh-sh-sh@xxxxxxxxxxxxxxxx
- Date: Mon, 11 Feb 2008 18:07:01 -0000
- Message-id: <20080211180701.7685325BCD@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |