Author: dmacvicar
Date: Sat Apr 12 22:29:42 2008
New Revision: 46480
URL: http://svn.opensuse.org/viewcvs/yast?rev=46480&view=rev
Log:
- make some sense out of the filters now that the patches are not
installed
(group by needed, unneeded and all)
- cleanup and remove commented code
Modified:
trunk/qt-pkg/src/YQPkgPatchFilterView.cc
trunk/qt-pkg/src/YQPkgPatchList.cc
trunk/qt-pkg/src/YQPkgPatchList.h
Modified: trunk/qt-pkg/src/YQPkgPatchFilterView.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchFilterView.cc?rev=46480&r1=46479&r2=46480&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgPatchFilterView.cc (original)
+++ trunk/qt-pkg/src/YQPkgPatchFilterView.cc Sat Apr 12 22:29:42 2008
@@ -77,8 +77,8 @@
Q_CHECK_PTR( _patchFilter );
hbox->addWidget(_patchFilter);
- _patchFilter->addItem( _( "Installable Patches" ));
- _patchFilter->addItem( _( "Installable and Installed Patches" ));
+ _patchFilter->addItem( _( "Needed Patches" ));
+ _patchFilter->addItem( _( "Unneeded Patches" ));
_patchFilter->addItem( _( "All Patches" ), 2 );
_patchFilter->setCurrentIndex( 0 );
_patchFilter->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) ); // hor/vert
Modified: trunk/qt-pkg/src/YQPkgPatchList.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchList.cc?rev=46480&r1=46479&r2=46480&view=diff
==============================================================================
--- trunk/qt-pkg/src/YQPkgPatchList.cc (original)
+++ trunk/qt-pkg/src/YQPkgPatchList.cc Sat Apr 12 22:29:42 2008
@@ -28,7 +28,6 @@
#include <QEvent>
#include <QHeaderView>
#include