~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to src/app/main.cpp

  • Committer: Tarmac
  • Author(s): Stefano Verzegnassi
  • Date: 2014-11-07 22:02:18 UTC
  • mfrom: (36.3.6 content-hub-support)
  • Revision ID: tarmac-20141107220218-gpy3rrsdl8lgierw
Added ContentHub support. Fixes: https://bugs.launchpad.net/bugs/1387025, https://bugs.launchpad.net/bugs/1387026.

Approved by Arthur Mello, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        cacheDir.mkpath(cacheDir.absolutePath());
123
123
    }
124
124
 
 
125
    // Expose quit() signal to QML
 
126
    QObject::connect(view.engine(), SIGNAL(quit()), &a, SLOT(quit()));
 
127
 
125
128
    qDebug() << "using main qml file from:" << qmlfile;
126
129
    view.setSource(QUrl::fromLocalFile(qmlfile));
127
130
    view.show();