Author: dmacvicar Date: Thu Aug 2 14:17:23 2007 New Revision: 6389 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6389&view=rev Log: clean status codes Modified: trunk/updater-kde/updater/zypp/ZYppUpdater.cpp Modified: trunk/updater-kde/updater/zypp/ZYppUpdater.cpp URL: http://svn.opensuse.org/viewcvs/zypp/trunk/updater-kde/updater/zypp/ZYppUpdater.cpp?rev=6389&r1=6388&r2=6389&view=diff ============================================================================== --- trunk/updater-kde/updater/zypp/ZYppUpdater.cpp (original) +++ trunk/updater-kde/updater/zypp/ZYppUpdater.cpp Thu Aug 2 14:17:23 2007 @@ -179,8 +179,11 @@ _buffer.truncate(0); // remove if 2 programs are run at the same time - _xml_source.reset(); - + _xml_source.setData(QString()); + _last_xml_parse_code = true; + _xml_reader.parse( &_xml_source, + true /* incremental parsing*/); + emit(populateDone()); return; } @@ -188,7 +191,10 @@ // clear the buffer _stderr_buffer.truncate(0); _buffer.truncate(0); - _xml_source.reset(); + _xml_source.setData(QString()); + _last_xml_parse_code = true; + _xml_reader.parse( &_xml_source, + true /* incremental parsing*/); if ( ! _patchList || !_packageList ) { -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org