camerauis/cameraxui/cxui/src/cxuiviewmanager.cpp
changeset 39 c5025ea871a1
parent 38 0f0b4c1d7744
child 36 b12f3922a74f
equal deleted inserted replaced
38:0f0b4c1d7744 39:c5025ea871a1
   585 
   585 
   586     disconnectSignals();
   586     disconnectSignals();
   587     QObject *currentView = mMainWindow.currentView();
   587     QObject *currentView = mMainWindow.currentView();
   588     if (currentView == mPostcaptureView) {
   588     if (currentView == mPostcaptureView) {
   589         // connecting view manager focus events to pre-capture views
   589         // connecting view manager focus events to pre-capture views
   590         connect(this, SIGNAL(focusGained()),  currentView, SLOT(startTimers()), Qt::UniqueConnection);
   590         connect(this, SIGNAL(focusGained()),  currentView, SLOT(handleFocusGained()), Qt::UniqueConnection);
   591         connect(this, SIGNAL(focusLost()),    currentView, SLOT(handleFocusLost()), Qt::UniqueConnection);
   591         connect(this, SIGNAL(focusLost()),    currentView, SLOT(handleFocusLost()), Qt::UniqueConnection);
   592         connect(currentView, SIGNAL(changeToPrecaptureView()), mStandbyHandler, SLOT(startTimer()), Qt::UniqueConnection);
   592         connect(currentView, SIGNAL(changeToPrecaptureView()), mStandbyHandler, SLOT(startTimer()), Qt::UniqueConnection);
   593 
   593 
   594         // connect necessary capturekey signals
   594         // connect necessary capturekey signals
   595         connectCaptureKeySignals();
   595         connectCaptureKeySignals();