X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FUserInterface%2FWindowManager.cpp;h=feef534ce22ec291b2f1cc8a8c66a9c8bcef458e;hb=56f763c68a2ff56d344ef150b7378ca417d08b36;hp=218f984845b75793a5f539bcb2bfd880ca676fe5;hpb=3c310cf12a8f6516e16b7883c94478c5123e7238;p=qtmeetings diff --git a/src/UserInterface/WindowManager.cpp b/src/UserInterface/WindowManager.cpp index 218f984..feef534 100644 --- a/src/UserInterface/WindowManager.cpp +++ b/src/UserInterface/WindowManager.cpp @@ -190,7 +190,8 @@ void WindowManager::showProgressBar( const QString &aText, bool aCancellable ) iProgressBar = new ProgressBar( aText, aCancellable ); iProgressBar->setFixedSize( 600, 125 ); iProgressBar->show(); - connect( iProgressBar, SIGNAL( cancel() ), this, SIGNAL( progressBarCancelled() ) ); + if( aCancellable ) + connect( iProgressBar, SIGNAL( cancel() ), this, SIGNAL( progressBarCancelled() ) ); } //TODO connect connect( iWeeklyView, SIGNAL( observedEventDetected() ), this, SIGNAL( observedEventDetected() ) );