X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FBusinessLogic%2FEngine.cpp;h=962da10ff214914230c0c288fe6ff5817cb6c6d7;hb=81d3e60d0265fdb330388ed9e358b524c56ab310;hp=a31a96338ca14e01c78f22dd285fee9c294f7062;hpb=89e9ba5883b47a6477957ed78772828b45bc3df9;p=qtmeetings diff --git a/src/BusinessLogic/Engine.cpp b/src/BusinessLogic/Engine.cpp index a31a963..962da10 100644 --- a/src/BusinessLogic/Engine.cpp +++ b/src/BusinessLogic/Engine.cpp @@ -264,8 +264,8 @@ void Engine::initUserInterface() connect( iWindowManager, SIGNAL( eventDetected() ), this, SLOT( handleViewEvent() ) ); connect( iWindowManager, SIGNAL( previousViewRestored() ), iUIManager, SLOT( previousViewRestored() ) ); -// connect( iWindowManager, SIGNAL( dialogActivated() ), this, SLOT( dialogActivated() ) ); -// connect( iWindowManager, SIGNAL( dialogDeactivated() ), this, SLOT( dialogDeactivated() ) ); + connect( iWindowManager, SIGNAL( dialogActivated() ), this, SLOT( dialogActivated() ) ); + connect( iWindowManager, SIGNAL( dialogDeactivated() ), this, SLOT( dialogDeactivated() ) ); // Show the UI iWindowManager->setWindowState( Qt::WindowMaximized ); @@ -280,7 +280,7 @@ void Engine::initUserInterface() void Engine::handleViewEvent() { - if ( iIdleTimeCounter != 0 ) + if ( iIdleTimeCounter != 0 && iIdleTimeCounter->isActive()) { // Restart the idle time counter when view event is received iIdleTimeCounter->stop();