~ci-train-bot/qtmir/qtmir-ubuntu-zesty-2055

« back to all changes in this revision

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

  • Committer: Bileto Bot
  • Author(s): Michał Sawicz
  • Date: 2016-08-26 10:42:46 UTC
  • mfrom: (549.2.2 revert-r538-queued-appstartup)
  • Revision ID: ci-train-bot@canonical.com-20160826104246-d6ucwx5zrypj7cl2
Revert r538 that's causing a unity8 crash when launching emergency dialer over greeter (LP: #1616842)

Approved by: Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    // as fast as possible! Using a Queued connection will push an event on the event queue before the
87
87
    // (blocking) event for authorizeSession is pushed on the same queue - so the application's processState
88
88
    // will be up-to-date when authorizeSession is called.
 
89
    //
 
90
    // TODO: Unfortunately making this queued unearths a crash (likely in Qt) (LP: #1616842).
89
91
    QObject::connect(controller, &TaskController::processStarting,
90
 
                     manager, &ApplicationManager::onProcessStarting, Qt::QueuedConnection);
 
92
                     manager, &ApplicationManager::onProcessStarting);
91
93
 
92
94
    QObject::connect(controller, &TaskController::processStopped,
93
95
                     manager, &ApplicationManager::onProcessStopped);