~robertcarr/unity-mir/stuff

« back to all changes in this revision

Viewing changes to src/modules/Unity/Application/plugin.cpp

  • Committer: Tarmac
  • Author(s): Daniel d'Andrada, Gerry Boland, Ricardo Mendoza
  • Date: 2013-09-11 13:42:09 UTC
  • mfrom: (75.4.3 qtweb-and-surface-attrib-changes)
  • Revision ID: tarmac-20130911134209-mjaqbmbaknegm34t
* Authorize QtWebProcess
* Bind surface to application and signal state changes. Fixes: https://bugs.launchpad.net/bugs/1215039.

Approved by PS Jenkins bot, Gerry Boland.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    Q_UNUSED(scriptEngine);
36
36
    DLOG("applicationManagerSingleton (engine=%p, scriptEngine=%p)", engine, scriptEngine);
37
37
 
38
 
    static ApplicationManager* instance = new ApplicationManager();
39
 
    return instance;
 
38
    return ApplicationManager::singleton();
40
39
}
41
40
 
42
41
static QObject* surfaceManagerSingleton(QQmlEngine* engine, QJSEngine* scriptEngine) {