Merge branch 'master' into dev_local
authorZoltan Papp <zoltan.papp@ixonos.com>
Tue, 26 May 2009 11:50:09 +0000 (14:50 +0300)
committerZoltan Papp <zoltan.papp@ixonos.com>
Tue, 26 May 2009 11:50:09 +0000 (14:50 +0300)
Conflicts:
src/BusinessLogic/Engine.cpp

1  2 
src/BusinessLogic/Engine.cpp
src/BusinessLogic/Engine.h
src/UserInterface/WindowManager.cpp

@@@ -288,17 -276,11 +288,19 @@@ void Engine::errorHandler( int aCode, c
  {
        qDebug() << "Engine::ErrorHandler, aCode: " << aCode;
        // inform UI about the problem
-       if( aCode >= 100 && aCode <= 150 )
+       if( aCode >= 100 && aCode <= 150 ) { //communication errors
 +      {
+               //we don't want these to close operation changing
                qDebug() << "CommunicationManager signaled an error:" << aCode;
 +              if( !iCommunicationFailed )
 +              {
 +                      // Only inform window manager when first error appears
 +                      iCommunicationFailed = true;
 +                      //iWindowManager->connectionLost();
 +              }
 +      }
-       iWindowManager->closeProgressBar();
+               iWindowManager->closeProgressBar();
+       }
        iWindowManager->error( ErrorMapper::codeToString( aCode, aAddInfo ) );
  }
  
Simple merge
Simple merge