mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
ktraderclient: fix regression since c69fc1366b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8073f7f92e
commit
2988258fea
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ int main(int argc, char **argv)
|
|||
|
||||
printf("got %d offers.\n", offers.count());
|
||||
|
||||
int i = 0;
|
||||
foreach(const KSharedPtr<KService> it, offers) {
|
||||
printf("---- Offer %d ----\n", i);
|
||||
for (int i = 0; i < offers.count(); i++) {
|
||||
const KSharedPtr<KService> it = offers.at(0);
|
||||
printf("---- Offer %d ----\n", (i + 1));
|
||||
foreach(const QString propIt , it->propertyNames() ) {
|
||||
QVariant prop = it->property(propIt);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue