[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    addMatch/addMatches in RunnerContext
From:       "Ryan P. Bitanga" <ryan.bitanga () gmail ! com>
Date:       2009-01-28 14:10:09
Message-ID: cf617050901280610v1748b58fm4e55afce630cb9f0 () mail ! gmail ! com
[Download RAW message or body]

Hey everyone,

I was going over the KRunner related classes a couple of weeks ago and
forgot to ask this. Can anyone tell me why the argument "term" in
addMatches(const QString &term, const QList<QueryMatch> &matches) and
addMatch(const QString &term, const QueryMatch &match) isn't used?

IIRC, term was originally placed to ensure that matches were only
added if term was equal to the current search term of the context.
Now, as pointed out by Sebastian Trueg around November I think, this
isn't done. I know Aaron optimized RunnerContext a bit but I don't
quite understand this particular change. Am I missing something?

Cheers,
Ryan
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic