fix compile.

apparently there is no != operator for Plasma::QueryMatch
perhaps there should be.

CCMAIL: notmart@gmail.com,agateau@kde.org
This commit is contained in:
Allen Winter 2012-05-11 14:32:34 -04:00
parent 1eb2650cd5
commit 200c90f096

View File

@ -198,7 +198,7 @@ void RunnerModel::matchesChanged(const QList<Plasma::QueryMatch> &matches)
// same, we can just append new matches instead of resetting the whole
// model
for (int row = 0; row < oldCount; ++row) {
if (m_matches.at(row) != matches.at(row)) {
if (!(m_matches.at(row) == matches.at(row))) {
fullReset = true;
break;
}