https://bugs.kde.org/show_bug.cgi?id=363611

--- Comment #7 from Jonathan Riddell <j...@jriddell.org> ---
Adding some more debugging it does seem to successfully read the popcon file

In PopConParser.cpp
QHash<QString, Rating *> PopConParser::parsePopcon(QObject* parent, QIODevice*
dev)
Added: qDebug() << "XXXadding ratings" << pkgName << " " << vote;
I can see:
XXXadding ratings "org.kde.konsole.desktop"   503916

But in AppstreamReviews.cpp
Rating * AppstreamReviews::ratingForApplication(AbstractResource* app) const
I re-enable the debug line qDebug() << "fuuuuuu" << appk->appstreamId() <<
m_ratings.value(appk->appstreamId());
and add
qDebug() << " " << m_ratings.value(appk->appstreamId())->rating();
it show:
fuuuuuu "org.kde.konsole.desktop" Rating(0x5a90120)
"org.kde.konsole.desktop"   0

so something is wiping the ratings
and it shows

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to