Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdelibs4
patch-r891821.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File patch-r891821.diff of Package kdelibs4
Subject: KHNS double entries bugfix From: wstephenson@suse.de Bug: Patch-upstream: 891821 --- knewstuff/knewstuff2/ui/itemsmodel.cpp (revision 891820) +++ knewstuff/knewstuff2/ui/itemsmodel.cpp (revision 891821) @@ -115,9 +115,7 @@ KNS::Entry* ItemsModel::entryForIndex(co void ItemsModel::addEntry(Entry * entry) { //kDebug(551) << "adding entry " << entry->name().representation() << " to the model"; - int start = m_entries.count(); - int end = start + 1; - beginInsertRows(QModelIndex(), start, end); + beginInsertRows(QModelIndex(), m_entries.count(), m_entries.count()); m_entries.append(entry); endInsertRows(); --- knewstuff/knewstuff2/dxs/soap.h (revision 891820) +++ knewstuff/knewstuff2/dxs/soap.h (revision 891821) @@ -83,7 +83,7 @@ public: /** * Find the text element to a xpath like expression - * @param node xml (<test>my_text</test>) + * @param node xml (<test>my_text</test>) * @param expr /test * @return my_text */ Index: knewstuff/knewstuff2/ui/itemsmodel.cpp =================================================================== Index: knewstuff/knewstuff2/dxs/soap.h ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor