X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FUserInterface%2FWindowManager.cpp;h=ffe3b24cf6b82927b78469cc032f0ec81766cc08;hb=100bffcd0e9a9a967be6da8e9977da3d94dc606a;hp=ff5c8fd3a9efac254a2258fbadc7f730308cd3b2;hpb=046f0345e7b3d35d86083bb38c5df541d857b265;p=qtmeetings diff --git a/src/UserInterface/WindowManager.cpp b/src/UserInterface/WindowManager.cpp index ff5c8fd..ffe3b24 100644 --- a/src/UserInterface/WindowManager.cpp +++ b/src/UserInterface/WindowManager.cpp @@ -188,8 +188,10 @@ void WindowManager::showProgressBar( const QString &aText, bool aCancellable ) qDebug() << "WindowManager::showProgressBar( const QString & )"; if( iProgressBar == 0 ) { 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() ) );