|
@@ -45,7 +45,7 @@ ProgressBarQt::ProgressBarQt ( const std::string & _name, bool _useGraphics )
|
|
|
|
|
|
progressdialog = new QProgressDialog ( "Process at work ...", "Cancel",
|
|
|
0, 100 );
|
|
|
- layout = new QGridLayout ( dialogwindow, 1, 1 );
|
|
|
+ layout = new QGridLayout ( dialogwindow );
|
|
|
layout->addWidget ( progressdialog, 0, 0 );
|
|
|
dialogwindow->setLayout ( layout );
|
|
|
}
|