~ci-train-bot/history-service/history-service-ubuntu-yakkety-landing-052

« back to all changes in this revision

Viewing changes to tools/reader/main.cpp

Request contact information for all known participants on history-daemon initialization, and use this cached information on the models.
Approved by: Tiago Salem Herrmann, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2013 Canonical, Ltd.
 
2
 * Copyright (C) 2013-2015 Canonical, Ltd.
3
3
 *
4
4
 * Authors:
5
5
 *  Gustavo Pichorim Boiko <gustavo.boiko@canonical.com>
70
70
                                                                                                thread.threadId(),
71
71
                                                                                                QString::number(thread.count()),
72
72
                                                                                                QString::number(thread.unreadCount())));
73
 
    qDebug() << qPrintable(QString("    Participants: %1").arg(thread.participants().join(", ")));
 
73
    qDebug() << qPrintable(QString("    Participants: %1").arg(thread.participants().identifiers().join(", ")));
74
74
 
75
75
    if (!thread.lastEvent().isNull()) {
76
76
        qDebug() << "    Last event:";