camerauis/cameraxui/cxui/src/cxuiviewmanager.cpp
changeset 32 5c1e3c6aa4ef
parent 29 699651f2666f
child 36 b12f3922a74f
equal deleted inserted replaced
29:699651f2666f 32:5c1e3c6aa4ef
   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();