~thomir-deactivatedaccount/autopilot-qt/trunk-fix-failing-ap-tests

« back to all changes in this revision

Viewing changes to driver/qttestability.cpp

  • Committer: Tarmac
  • Author(s): Thomi Richards
  • Date: 2013-11-05 20:56:34 UTC
  • mfrom: (73.1.2 trunk-add-version-print)
  • Revision ID: tarmac-20131105205634-urg2ayd03yeumdsi
Make Qt backend report wire protocol version when it starts. Fixes: https://bugs.launchpad.net/bugs/1248293.

Approved by Christopher Lee, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
void qt_testability_init(void)
22
22
{
23
 
    qDebug() << "Loading testability driver.";
 
23
    qDebug().nospace()
 
24
        << "Testability driver loaded. Wire protocol version is "
 
25
        << AutopilotAdaptor::WIRE_PROTO_VERSION
 
26
        << ".";
24
27
    qDBusRegisterMetaType<NodeIntrospectionData>();
25
28
    qDBusRegisterMetaType<QList<NodeIntrospectionData> >();
26
29