Author: dmacvicar Date: Mon Apr 14 16:58:21 2008 New Revision: 46603 URL: http://svn.opensuse.org/viewcvs/yast?rev=46603&view=rev Log: dont reorder patches when clicking Modified: trunk/qt-pkg/src/YQPkgPatchList.cc Modified: trunk/qt-pkg/src/YQPkgPatchList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchList.cc?rev=... ============================================================================== --- trunk/qt-pkg/src/YQPkgPatchList.cc (original) +++ trunk/qt-pkg/src/YQPkgPatchList.cc Mon Apr 14 16:58:21 2008 @@ -521,13 +521,9 @@ bool YQPkgPatchListItem::operator< ( const QTreeWidgetItem & otherListViewItem ) const { const YQPkgPatchListItem * other = dynamic_cast<const YQPkgPatchListItem *> (&otherListViewItem); - int col = treeWidget()->sortColumn(); if ( other ) { - if ( col == categoryCol() ) - { - return ( this->patchCategory() < other->patchCategory() ); - } + return ( this->text(_patchList->summaryCol()) < other->text( _patchList->summaryCol()) ); } return YQPkgObjListItem::operator<( otherListViewItem ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org