瀏覽代碼

fix ProgressbarQt for Qt3 to Qt4

Johannes Ruehle 11 年之前
父節點
當前提交
f74ba876cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      baselib/ProgressBarQt.cpp

+ 1 - 1
baselib/ProgressBarQt.cpp

@@ -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 );
   }