Author: dmacvicar Date: Fri Aug 15 14:10:07 2008 New Revision: 50114 URL: http://svn.opensuse.org/viewcvs/yast?rev=50114&view=rev Log: fix bad return Modified: trunk/qt-pkg/src/YQPkgChangesDialog.cc Modified: trunk/qt-pkg/src/YQPkgChangesDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgChangesDialog.cc?rev=50114&r1=50113&r2=50114&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgChangesDialog.cc (original) +++ trunk/qt-pkg/src/YQPkgChangesDialog.cc Fri Aug 15 14:10:07 2008 @@ -194,13 +194,17 @@ modifiedBy == zypp::ResStatus::APPL_HIGH ) && byApp ) || ( ( modifiedBy == zypp::ResStatus::USER ) && byUser ) ) { - if ( regexp.isEmpty() - || regexp.indexIn( selectable->name().c_str() ) >= 0 ) - { - if ( ! contains( ignoredNames, selectable->name() ) ) - _pkgList->addPkgItem( selectable, - tryCastToZyppPkg( selectable->theObj() ) ); - } + if ( regexp.isEmpty() + || regexp.indexIn( selectable->name().c_str() ) >= 0 ) + { + if ( ! contains( ignoredNames, selectable->name() ) ) + { + ZyppPkg pkg = tryCastToZyppPkg( selectable->theObj() ); + if ( extraFilter( selectable, pkg ) ) + _pkgList->addPkgItem( selectable, pkg ); + } + + } } } } @@ -282,6 +286,7 @@ { return true; } + return false; } #include "YQPkgChangesDialog.moc" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org